[gegl] png-save: Don't zero alloc buffer
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] png-save: Don't zero alloc buffer
- Date: Thu, 8 Sep 2011 12:36:52 +0000 (UTC)
commit d52a8f0a5a3738fbe90575f8e4673b2caf7b891a
Author: Mukund Sivaraman <muks banu com>
Date: Thu Sep 8 18:02:03 2011 +0530
png-save: Don't zero alloc buffer
operations/external/png-save.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/png-save.c b/operations/external/png-save.c
index 432d3b0..38291e6 100644
--- a/operations/external/png-save.c
+++ b/operations/external/png-save.c
@@ -149,7 +149,7 @@ gegl_buffer_export_png (GeglBuffer *gegl_buffer,
png_set_swap (png);
#endif
- pixels = g_malloc0 (row_stride);
+ pixels = g_malloc (row_stride);
for (i=0; i< height; i++)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]