From 97478161c58e4c400845b540a0bd2e3756332aac Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Sat, 8 Apr 2017 15:24:29 +0200 Subject: [PATCH] initialize prof to NULL --- rtgui/editorpanel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/editorpanel.cc b/rtgui/editorpanel.cc index 698165713..b42bb1be3 100644 --- a/rtgui/editorpanel.cc +++ b/rtgui/editorpanel.cc @@ -105,7 +105,7 @@ bool find_default_monitor_profile(GdkWindow *rootwin, Glib::ustring &defprof, Gl // * Copyright (C) 2006 John Ellis // * Copyright (C) 2008 - 2016 The Geeqie Team // - guchar *prof; + guchar *prof = NULL; gint proflen; GdkAtom type = GDK_NONE; gint format = 0;