Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 58ff3043ad74e4e484f0a8c9507c1dc9 > files > 1

gnome-photos-3.14.2-1.1.mga5.src.rpm

--- gnome-photos-3.14.2/src/gegl-gtk-view-helper.c.orig	2016-02-12 15:36:49.989009860 -0500
+++ gnome-photos-3.14.2/src/gegl-gtk-view-helper.c	2016-02-12 15:37:05.219101354 -0500
@@ -248,7 +248,7 @@ view_helper_draw(ViewHelper *self, cairo
     roi.height = rect->height;
 
     stride = cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, roi.width);
-    buf = g_malloc0(stride * roi.height);
+    buf = g_malloc0_n(roi.height, stride);
 
     gegl_node_blit(self->node,
                    self->scale,