[gegl] maze: fix glibification of allocation
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] maze: fix glibification of allocation
- Date: Sun, 20 Nov 2016 16:21:15 +0000 (UTC)
commit acf93ea2022d8b4fb8dcafa1a4bbaa86297a6587
Author: Øyvind Kolås <pippin gimp org>
Date: Sun Nov 20 17:20:50 2016 +0100
maze: fix glibification of allocation
operations/common/maze.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/maze.c b/operations/common/maze.c
index bbc13e6..f97541f 100644
--- a/operations/common/maze.c
+++ b/operations/common/maze.c
@@ -614,7 +614,7 @@ process (GeglOperation *operation,
{
/* allocate memory for maze and set to zero */
- maz = (guchar *) g_new0 (sizeof(guchar), mw * mh);
+ maz = (guchar *) g_new0 (guchar, mw * mh);
gr = g_rand_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]