fixed previous fix
authorkramm <kramm>
Tue, 13 Jan 2009 22:25:38 +0000 (22:25 +0000)
committerkramm <kramm>
Tue, 13 Jan 2009 22:25:38 +0000 (22:25 +0000)
lib/readers/image.c

index d828494..3650568 100644 (file)
@@ -81,7 +81,7 @@ void image_doc_destroy(gfxdocument_t*gfx)
 {
     image_doc_internal_t*i= (image_doc_internal_t*)gfx->internal;
 
-    free(i->image.data);i->image.data = 0;
+    free(i->img.data);i->image.data = 0;
 
     free(gfx->internal);gfx->internal=0;
     free(gfx);gfx=0;