r25691 - trunk/codec-cfg.c
12 Jan
2008
12 Jan
'08
9:48 a.m.
Author: reimar Date: Sat Jan 12 15:48:12 2008 New Revision: 25691 Log: 100l, free strdup'd strings Modified: trunk/codec-cfg.c Modified: trunk/codec-cfg.c ============================================================================== --- trunk/codec-cfg.c (original) +++ trunk/codec-cfg.c Sat Jan 12 15:48:12 2008 @@ -823,6 +823,8 @@ void stringset_init(stringset_t *set) { } void stringset_free(stringset_t *set) { + int count = 0; + while ((*set)[count]) free((*set)[count++]); free(*set); *set = NULL; }
6513
Age (days ago)
6513
Last active (days ago)
0 comments
1 participants
participants (1)
-
reimar