diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-12 14:48:12 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-01-12 14:48:12 +0000 |
commit | b78083276562c0391e200be6a6bf0ca87fd426cd (patch) | |
tree | 7635cac730cf6bdf2ee8d7d700c4bbaf3db2504f /codec-cfg.c | |
parent | 2f77f19cb87d4b6cdc65d61fbb50d4887c69beca (diff) | |
download | mpv-b78083276562c0391e200be6a6bf0ca87fd426cd.tar.bz2 mpv-b78083276562c0391e200be6a6bf0ca87fd426cd.tar.xz |
100l, free strdup'd strings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25691 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.c')
-rw-r--r-- | codec-cfg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/codec-cfg.c b/codec-cfg.c index 056e4b150e..636447eadc 100644 --- a/codec-cfg.c +++ b/codec-cfg.c @@ -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; } |