On 10/9/06, Srinivas R Thota <srinivas_thota@xxxxxxxxxx> wrote:
> But there can be leak if preempted by the system after allocation
>
> + n = g_new0 (Gdome_xml_DOMImplementation, 1);
yes, it can leak but will still work. I just reordered stuff to avoid
stupid bugs.
--
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri@xxxxxxxxx
MSN: barbieri@xxxxxxxxx
ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Phone: +1 (347) 624 6296; 08122692@xxxxxxxxxxxxxxxxxx
GPG: 0xB640E1A2 @ wwwkeys.pgp.net
|