[gimp] color-selector-cmyk: avoid freeing uninitialized pointer



commit c028580ae08ccf6408910ee6cf83d54308367f36
Author: Nils Philippsen <nils redhat com>
Date:   Thu Nov 7 11:43:38 2013 +0100

    color-selector-cmyk: avoid freeing uninitialized pointer

 modules/color-selector-cmyk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/color-selector-cmyk.c b/modules/color-selector-cmyk.c
index 20eb3f9..f081e0e 100644
--- a/modules/color-selector-cmyk.c
+++ b/modules/color-selector-cmyk.c
@@ -369,7 +369,7 @@ colorsel_cmyk_config_changed (ColorselCmyk *module)
   cmsUInt32Number    descSize = 0;
   cmsHPROFILE        rgb_profile;
   cmsHPROFILE        cmyk_profile;
-  gchar             *descData;
+  gchar             *descData = NULL;
   const gchar       *name     = NULL;
   gchar             *text;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]