--- 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,