The code you added is an unreachable code. The "for" never ends normally, only in the return.
Em sáb, 25 de mai de 2019 às 08:28, Ranier VF <ranier_...@hotmail.com> escreveu: > 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_______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users