Changeset 91634ec for logging.c


Ignore:
Timestamp:
Mar 1, 2010, 8:15:48 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
516c27e
Parents:
b0da027
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 22:41:26)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/01/10 20:15:48)
Message:
Add owl_message_delete to fix leaks.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Alejandro R. Sedeño <asedeno@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • logging.c

    rc79a047 r91634ec  
    184184  owl_message_create_from_zwrite(m, zw, text);
    185185  if (!owl_log_shouldlog_message(m)) {
    186     owl_message_free(m);
    187     return;
    188   }
    189   owl_message_free(m);
     186    owl_message_delete(m);
     187    return;
     188  }
     189  owl_message_delete(m);
    190190
    191191  /* chop off a local realm */
Note: See TracChangeset for help on using the changeset viewer.