mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 21:14:23 -04:00
This comes from strdup, so it should be freed rather than deleted.
Patch from Jon Burgess. BUG:127260 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@549379 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -205,7 +205,7 @@ void taglib_tag_free_strings()
|
||||
return;
|
||||
|
||||
for(List<char *>::Iterator it = strings.begin(); it != strings.end(); ++it)
|
||||
delete [] *it;
|
||||
free(*it);
|
||||
strings.clear();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user