projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1842510: round frame number to nearest integer rather than truncating.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_png
/
mptr_png.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
index
b36266b
..
7c07d38
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
+++ b/
synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
@@
-327,10
+327,6
@@
png_mptr::png_mptr(const char *file_name)
DEBUGPOINT();
DEBUGPOINT();
- // \fixme These shouldn't be uncommented, but for some
- // reason, they crash the program. I will have to look into this
- // later. This is a memory leak, but it shouldn't be too bad.
-
png_read_end(png_ptr, end_info);
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
fclose(file);
png_read_end(png_ptr, end_info);
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
fclose(file);