Commits

shuerhaaken committed f8a6d5d Merge

Merge branch 'master' of ssh://bitbucket.org/shuerhaaken/libtaginfo

Comments (0)

Files changed (2)

bindings/c/taginfo_c.cc

     StringList list;
     for(int j = 0; j < length; j++) {
         if(array[j]) {
-            list.append(::strdup(array[j]));
+            list.append(array[j]);
         }
     }
     return list;

tests/ctest_read/main.c

 #include <stdio.h>
+#include <stdlib.h>
 #include <taginfo_c.h>
 
 int main(void)