Changeset 3634
- Timestamp:
- 10/19/10 21:14:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-datastruct-llist.c
r3631 r3634 9 9 static void _destroy(LLIST *l) 10 10 { 11 if (!l) return; 11 12 pthread_mutex_unlock(&l->lock); 12 13 pthread_mutex_destroy(&l->lock); … … 26 27 void ll_destroy(LLIST *l) 27 28 { 29 if (!l) return; 28 30 ll_clear(l); 29 31 … … 33 35 void ll_destroy_data(LLIST *l) 34 36 { 37 if (!l) return; 35 38 ll_clear_data(l); 36 39
Note:
See TracChangeset
for help on using the changeset viewer.