The code documents an unexplained crash in libpng, but was also leaking filehandles...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 13 Oct 2007 22:03:03 +0000 (22:03 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 13 Oct 2007 22:03:03 +0000 (22:03 +0000)
git-svn-id: http://svn.voria.com/code@924 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/mod_png/mptr_png.cpp

index b485f27..94c036c 100644 (file)
@@ -314,8 +314,8 @@ png_mptr::png_mptr(const char *file_name)
        /*
        png_read_end(png_ptr, end_info);
        png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
-       fclose(file);
        */
+       fclose(file);
 
        delete [] row_pointers;
 }