Hi,
Issue found by Coverity Scan.
CID 210622 (#1 of 1): Resource leak (RESOURCE_LEAK)

--- a\src\gtk\iupgtk_colordlg.c Sun Jul 26 03:10:04 2015
+++ b\src\gtk\iupgtk_colordlg.c Wed Jan 17 23:12:37 2018
@@ -48,6 +48,7 @@
     }
     palette = palette_p;
   }
+  free(gtk_str);
   str[off-1] = 0;  /* remove last separator */
   return str;
 }

Best.
Ranier

Attachment: iupgtk_colordlg.patch
Description: iupgtk_colordlg.patch

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to