[gimp] plug-ins: fix memory leak in file-tiff-save
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix memory leak in file-tiff-save
- Date: Mon, 14 Jan 2013 02:47:48 +0000 (UTC)
commit f4bf93dac9e1e21cf7bb6c9122c35c1662cef359
Author: Michael Henning <drawoc darkrefraction com>
Date: Sun Jan 13 15:56:43 2013 -0500
plug-ins: fix memory leak in file-tiff-save
Found using clang's scan-build.
plug-ins/common/file-tiff-save.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/file-tiff-save.c b/plug-ins/common/file-tiff-save.c
index 3cdd806..4678095 100644
--- a/plug-ins/common/file-tiff-save.c
+++ b/plug-ins/common/file-tiff-save.c
@@ -1061,6 +1061,7 @@ save_image (const gchar *filename,
gimp_drawable_detach (drawable);
g_free (data);
+ g_free (src);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]