aboutsummaryrefslogtreecommitdiff
path: root/img-save.c
diff options
context:
space:
mode:
Diffstat (limited to 'img-save.c')
-rw-r--r--img-save.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/img-save.c b/img-save.c
index 3a62a60..f33d6f3 100644
--- a/img-save.c
+++ b/img-save.c
@@ -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;
}