[gimp/soc-2011-seamless-clone2] plug-ins: fix memory leak in file-tiff-save
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] plug-ins: fix memory leak in file-tiff-save
- Date: Wed, 8 May 2013 14:56:17 +0000 (UTC)
commit 88f03b040e8ce9b03cb166678320044368e15ce3
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]