Explorar el Código

add missing free

Francois Perrad hace 10 años
padre
commit
2ccf80bb8a
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 1
      tests/test47.c
  2. 1 0
      tests/test62.c

+ 1 - 1
tests/test47.c

@@ -22,7 +22,7 @@ int main() {
     printf("%s\n", utstring_body(t));
     printf("length t now: %u\n", utstring_len(t));
 
-
+    utstring_free(t);
     utstring_free(s);
     return 0;
 }

+ 1 - 0
tests/test62.c

@@ -57,5 +57,6 @@ int main(int argc,char*argv[]) {
   rc = MUR_GETBLOCK(u3,0); printf("%x\n", rc);
 #endif
 
+  free(c);
   return 0;
 }