plug-ins/grid: Make sure dest_buffer is initialized

Initialize to NULL at the very least
This commit is contained in:
Niels De Graef 2023-05-26 12:45:50 +02:00
parent 467fa6c5e7
commit 85a77f8a64
1 changed files with 4 additions and 4 deletions

View File

@ -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;