Changeset a96b109 for logging.c


Ignore:
Timestamp:
Mar 1, 2010, 8:33:50 PM (11 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
release-1.5
Children:
5e8bec6
Parents:
d89c61f
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 22:41:26)
git-committer:
Nelson Elhage <nelhage@mit.edu> (03/01/10 20:33:50)
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 ra96b109  
    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.