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:
Scott Wheeler
2006-06-08 12:22:18 +00:00
parent ef34e50406
commit 88aa8c125d

View File

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