Changeset 5e5f08f for view.c


Ignore:
Timestamp:
Mar 7, 2010, 10:26:04 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:
0e57335
Parents:
8c59178
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 20:39:13)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:04)
Message:
Make owl_list_free_simple a special case of owl_list_cleanup.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • view.c

    rc3a47c9 r5e5f08f  
    3838
    3939  /* nuke the old list */
    40   owl_list_free_simple(&ml->list);
     40  owl_list_cleanup(&ml->list, NULL);
    4141  owl_messagelist_create(&(v->ml));
    4242
     
    159159void owl_view_free(owl_view *v)
    160160{
    161   owl_list_free_simple(&v->ml.list);
     161  owl_list_cleanup(&v->ml.list, NULL);
    162162  if (v->name) owl_free(v->name);
    163163}
Note: See TracChangeset for help on using the changeset viewer.