[gegl] ppm-load: Don't initialize image data to zero



commit ec06cc8b0e7f9dff17a643cd8f0495f2546ad849
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Jun 22 23:40:31 2010 +0530

    ppm-load: Don't initialize image data to zero

 operations/external/ppm-load.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/ppm-load.c b/operations/external/ppm-load.c
index 29b2def..c20f337 100644
--- a/operations/external/ppm-load.c
+++ b/operations/external/ppm-load.c
@@ -241,7 +241,7 @@ process (GeglOperation       *operation,
   rect.width = img.width;
 
   /* Allocating Array Size */
-  img.data = (guchar*) g_malloc0 (img.numsamples * img.bpc);
+  img.data = (guchar*) g_malloc (img.numsamples * img.bpc);
 
   switch (img.bpc)
     {



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