mirror of https://github.com/GNOME/gimp.git
plug-ins/grid: Make sure dest_buffer is initialized
Initialize to NULL at the very least
This commit is contained in:
parent
467fa6c5e7
commit
85a77f8a64
|
@ -413,14 +413,14 @@ grid (GimpImage *image,
|
||||||
GimpDrawable *drawable,
|
GimpDrawable *drawable,
|
||||||
GimpPreview *preview)
|
GimpPreview *preview)
|
||||||
{
|
{
|
||||||
GeglBuffer *src_buffer;
|
GeglBuffer *src_buffer = NULL;
|
||||||
GeglBuffer *dest_buffer;
|
GeglBuffer *dest_buffer = NULL;
|
||||||
const Babl *format;
|
const Babl *format;
|
||||||
gint bytes;
|
gint bytes;
|
||||||
gint x_offset;
|
gint x_offset;
|
||||||
gint y_offset;
|
gint y_offset;
|
||||||
guchar *dest;
|
guchar *dest = NULL;
|
||||||
guchar *buffer = NULL;
|
guchar *buffer = NULL;
|
||||||
gint x, y;
|
gint x, y;
|
||||||
gboolean alpha;
|
gboolean alpha;
|
||||||
gboolean blend;
|
gboolean blend;
|
||||||
|
|
Loading…
Reference in New Issue