# HG changeset patch # User reimar # Date 1200149292 0 # Node ID 895fe730fa52fa975983f6c3cdf96e685c5c4c51 # Parent a004d8e043a5924ff30e7138a1132542888792a0 100l, free strdup'd strings diff -r a004d8e043a5 -r 895fe730fa52 codec-cfg.c --- a/codec-cfg.c Sat Jan 12 14:07:27 2008 +0000 +++ b/codec-cfg.c Sat Jan 12 14:48:12 2008 +0000 @@ -823,6 +823,8 @@ } void stringset_free(stringset_t *set) { + int count = 0; + while ((*set)[count]) free((*set)[count++]); free(*set); *set = NULL; }