Added io_buffer for reading from scalars. Also added test cases. Added
[imager.git] / tga.c
diff --git a/tga.c b/tga.c
index 2f47c41..46f3900 100644 (file)
--- a/tga.c
+++ b/tga.c
@@ -689,7 +689,7 @@ i_readtga_wiol(io_glue *ig, int length) {
   
   if (idstring) {
     i_tags_add(&img->tags, "tga_idstring", 0, idstring, header.idlength, 0);
-    free(idstring);
+    myfree(idstring);
   }
 
   if (mapped &&