[gimp/soc-2011-seamless-clone2] plug-ins: fix memory leak in file-tiff-load



commit cb0317c74a00c21574781e0a5977e7b4c46f3036
Author: Michael Henning <drawoc darkrefraction com>
Date:   Sat Jan 12 22:52:42 2013 -0500

    plug-ins: fix memory leak in file-tiff-load
    
    Found using clang's scan-build.

 plug-ins/common/file-tiff-load.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/file-tiff-load.c b/plug-ins/common/file-tiff-load.c
index e45e9c8..63d6904 100644
--- a/plug-ins/common/file-tiff-load.c
+++ b/plug-ins/common/file-tiff-load.c
@@ -1628,6 +1628,8 @@ load_separate (TIFF         *tif,
 
       progress += one_row;
     }
+
+  g_free (buffer);
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]