diff options
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf.c b/gdk-pixbuf/gdk-pixbuf.c index 28a67b140..8bdd65035 100644 --- a/gdk-pixbuf/gdk-pixbuf.c +++ b/gdk-pixbuf/gdk-pixbuf.c @@ -631,7 +631,7 @@ gdk_pixbuf_new (GdkColorspace colorspace, if (rowstride <= 0) return NULL; - buf = g_try_malloc_n (height, rowstride); + buf = g_try_malloc0_n (height, rowstride); if (!buf) return NULL; |