changeset 25663:895fe730fa52

100l, free strdup'd strings
author reimar
date Sat, 12 Jan 2008 14:48:12 +0000
parents a004d8e043a5
children a9e6d0744fc4
files codec-cfg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }