From 88aa8c125dacad717026be42ad19dda9923d360f Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Thu, 8 Jun 2006 12:22:18 +0000 Subject: [PATCH] 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 --- bindings/c/tag_c.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/c/tag_c.cpp b/bindings/c/tag_c.cpp index 05d8eea6..c600cd8b 100644 --- a/bindings/c/tag_c.cpp +++ b/bindings/c/tag_c.cpp @@ -205,7 +205,7 @@ void taglib_tag_free_strings() return; for(List::Iterator it = strings.begin(); it != strings.end(); ++it) - delete [] *it; + free(*it); strings.clear(); } -- 2.50.1