Changeset 7dcef03 for messagelist.c
- Timestamp:
- Dec 25, 2013, 11:33:37 AM (11 years ago)
- Branches:
- master, release-1.10
- Children:
- 8f95fc4, c53f5e8, 1bd5aa9
- Parents:
- d779a1a
- git-author:
- Anders Kaseorg <andersk@mit.edu> (12/25/13 11:18:38)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (12/25/13 11:33:37)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
messagelist.c
r219f52c r7dcef03 3 3 CALLER_OWN owl_messagelist *owl_messagelist_new(void) 4 4 { 5 owl_messagelist *ml = g_ new(owl_messagelist, 1);5 owl_messagelist *ml = g_slice_new(owl_messagelist); 6 6 ml->list = g_ptr_array_new(); 7 7 return ml; … … 13 13 g_ptr_array_foreach(ml->list, (GFunc)owl_message_delete, NULL); 14 14 g_ptr_array_free(ml->list, true); 15 g_ free(ml);15 g_slice_free(owl_messagelist, ml); 16 16 } 17 17
Note: See TracChangeset
for help on using the changeset viewer.