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

    r3eb599d ra96b109  
    7575    m=owl_list_get_element(&(ml->list), i);
    7676    if (owl_message_is_delete(m)) {
    77       owl_message_free(m);
     77      owl_message_delete(m);
    7878    } else {
    7979      owl_list_append_element(&newlist, m);
Note: See TracChangeset for help on using the changeset viewer.