[gimp] Bug 623169 - Memory leaks in GIMP



commit 9bde117b055cf7e2989e14ce7c10103232aee399
Author: Massimo Valentini <sixtysix inwind it>
Date:   Sun Aug 22 21:37:24 2010 +0200

    Bug 623169 - Memory leaks in GIMP
    
    Fix an oversight that was committed with the last patch.

 plug-ins/gimpressionist/ppmtool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/gimpressionist/ppmtool.c b/plug-ins/gimpressionist/ppmtool.c
index c8d1bd8..5c8a68f 100644
--- a/plug-ins/gimpressionist/ppmtool.c
+++ b/plug-ins/gimpressionist/ppmtool.c
@@ -357,9 +357,9 @@ ppm_load (const char *fn, ppm_t *p)
     fread (tmpcol, p->height * p->width, 1, f);
     for (y = 0; y < p->width * p->height * 3; y++) {
       p->col[y] = tmpcol[y / 3];
+    }
 
     g_free (tmpcol);
-    }
   }
   fclose (f);
 }



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