A (not so) little issue at gladeui/glade-project.c:1492
Juan Manuel Mouriz <[email protected]> Thu, 19 Feb 2015 14:41:58 -0300
| Newsgroups | gmane.comp.gnome.glade.devel |
|---|---|
| Message-ID | <CAO9+-7kL+P0ednrEzZ4o6=EoG7mGReHfW9diTsOjgFTjyyjruw@mail.gmail.com> |
--===============0638309924== Content-Type: multipart/alternative; boundary=047d7bd6adce13d08b050f7475a3 --047d7bd6adce13d08b050f7475a3 Content-Type: text/plain; charset=UTF-8 To Glade developers In gladeui/glade-project.c:1492, the call to g_free (required_lib) not always leave required_lib in NULL, at least for me, so the condition !required_lib fail in the remaining bucles. Of cource, this occurs when I use more than one requires-tag and can't use my own plugins. I believe that the more simple solution is to assign required_lib to NULL just after g_free. What they think about it? Regards, Juan Manuel <[email protected]> --047d7bd6adce13d08b050f7475a3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><div>To Glade developers<br><br></div>In gladeui= /glade-project.c:1492, the call to g_free (required_lib) not always leave r= equired_lib in NULL, at least for me, so the condition !required_lib fail i= n the remaining bucles. Of cource, this occurs when I use more than one req= uires-tag and can't use my own plugins.<span id=3D"result_box" class=3D= "" lang=3D"en"><span class=3D""><br><br></span></span></div><span id=3D"res= ult_box" class=3D"" lang=3D"en"><span class=3D"">I believe that the more si= mple solution is to assign required_lib to NULL just after g_free.<br></spa= n></span><br><span id=3D"result_box" class=3D"" lang=3D"en"><span class=3D"= "><span id=3D"result_box" class=3D"" lang=3D"en"><span class=3D"">What they= think</span> <span class=3D"">about it?</span></span><br></span></span></d= iv><div><span id=3D"result_box" class=3D"" lang=3D"en"><span class=3D""><br= >Regards,<br><br></span></span></div><div><span id=3D"result_box" class=3D"= " lang=3D"en"><span class=3D"">Juan Manuel</span></span><br></div><span id= =3D"result_box" class=3D"" lang=3D"en"><span class=3D""></span></span><div>= <div><div><div><a href=3D"mailto:[email protected]" target=3D"_b= lank"></a></div></div></div></div></div> --047d7bd6adce13d08b050f7475a3-- --===============0638309924== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Glade-devel maillist - [email protected] http://lists.ximian.com/mailman/listinfo/glade-devel --===============0638309924==--