[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/taglib/bindings/c
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2006-06-08 12:22:21
Message-ID: 1149769341.085683.26896.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 549379 by wheeler:

This comes from strdup, so it should be freed rather than deleted.
Patch from Jon Burgess.

BUG:127260


 M  +1 -1      tag_c.cpp  


--- trunk/kdesupport/taglib/bindings/c/tag_c.cpp #549378:549379
@@ -205,7 +205,7 @@
     return;
 
   for(List<char *>::Iterator it = strings.begin(); it != strings.end(); ++it)
-    delete [] *it;
+    free(*it);
   strings.clear();
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic