diff options
author | Igor <pashev.igor@gmail.com> | 2009-11-06 22:18:53 +0300 |
---|---|---|
committer | Igor <pashev.igor@gmail.com> | 2009-11-06 22:18:53 +0300 |
commit | 7b914fa56e4c0251cce72c737e06dcf94a5a92c3 (patch) | |
tree | 8ef0838d3e73ca5ee14cb054f71599e6d5a1d15e | |
parent | afb6f84f2c370a4bdf3ca1b398e522a029214eb3 (diff) | |
download | gimp-plugin-img-7b914fa56e4c0251cce72c737e06dcf94a5a92c3.tar.gz |
Don't free pointer if no layers
-rw-r--r-- | img-save.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -245,7 +245,6 @@ img_sanity_check(gint32 image_ID, GError ** error) if (nlayers == 0) { g_set_error(error, 0, 0, "Can't save empty images ;-)"); - g_free(layers); return GIMP_PDB_EXECUTION_ERROR; } |