Hi,
Fix RESOURCE_LEAK at iup_attrib.c

--- ..\..\a\src\iup_attrib.c    Sat Jan 26 16:02:13 2019
+++ iup_attrib.c        Sat May 25 08:25:17 2019
@@ -1499,6 +1499,11 @@
       break;
     }
   }
+  if (name)
+  {
+     IupStoreAttribute(ih, name, value);
+     free(name);
+  }
 }
 
 Ihandle* IupSetAttributes(Ihandle *ih, const char* str)

Best regards.
Ranier Vilela

Attachment: iup_attrib.c.patch
Description: iup_attrib.c.patch

_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to