[gimp] plug-ins: fix memory leak in file-tiff-load



commit 7d6f6a2692d39295de51d60022b3fd0232bd6bc5
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]