[gimp/gimp-2-10] plug-ins: need to initialize "name" now in file-pat.c
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] plug-ins: need to initialize "name" now in file-pat.c
- Date: Sat, 7 Jul 2018 08:51:50 +0000 (UTC)
commit 7a49f5902151c18279a5c92afb2ca60ec106650e
Author: Michael Natterer <mitch gimp org>
Date: Sat Jul 7 10:49:17 2018 +0200
plug-ins: need to initialize "name" now in file-pat.c
(cherry picked from commit 34a0c36602d094aa677a71848a33d0163419e091)
plug-ins/common/file-pat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/common/file-pat.c b/plug-ins/common/file-pat.c
index 74eb8a47ad..15b916d67c 100644
--- a/plug-ins/common/file-pat.c
+++ b/plug-ins/common/file-pat.c
@@ -320,7 +320,7 @@ load_image (GFile *file,
{
GInputStream *input;
GimpPatternHeader ph;
- gchar *name;
+ gchar *name = NULL;
gchar *temp;
guchar *buf;
gint32 image_ID;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]