[gegl] ppm-load: Don't initialize image data to zero
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ppm-load: Don't initialize image data to zero
- Date: Tue, 22 Jun 2010 18:22:57 +0000 (UTC)
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]