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

    r3eb599d r91634ec  
    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.