From 115dbce61bba9b7b49dfb17e9c442660d30198a0 Mon Sep 17 00:00:00 2001 From: Jonathan Westhues Date: Sun, 20 Jul 2008 17:34:09 -0800 Subject: [PATCH] Oops, wasn't closing the PNG file after exporting to it. [git-p4: depot-paths = "//depot/solvespace/": change = 1848] --- export.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/export.cpp b/export.cpp index a1a53f86..7f6dca10 100644 --- a/export.cpp +++ b/export.cpp @@ -301,6 +301,7 @@ void SolveSpace::ExportAsPngTo(char *filename) { png_write_end(png_ptr, info_ptr); png_destroy_write_struct(&png_ptr, &info_ptr); + fclose(f); return; err: