100l, free strdup'd strings

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25691 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-01-12 14:48:12 +00:00
parent 2f77f19cb8
commit b780832765
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}