Changeset a96b109 for owl.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
  • owl.c

    r8ea0ffc ra96b109  
    195195  /* if this message it on the puntlist, nuke it and continue */
    196196  if (owl_global_message_is_puntable(&g, m)) {
    197     owl_message_free(m);
     197    owl_message_delete(m);
    198198    return 0;
    199199  }
     
    202202  if (owl_global_is_ignorelogins(&g)
    203203      && owl_message_is_loginout(m)) {
    204     owl_message_free(m);
     204    owl_message_delete(m);
    205205    return 0;
    206206  }
     
    208208  if (!owl_global_is_displayoutgoing(&g)
    209209      && owl_message_is_direction_out(m)) {
    210     owl_message_free(m);
     210    owl_message_delete(m);
    211211    return 0;
    212212  }
Note: See TracChangeset for help on using the changeset viewer.