Re: Fix thread issues

View: New views
2 Messages — Rating Filter:   Alert me  

Re: Fix thread issues

by Srinivas R Thota :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

But there can be leak if preempted by the system after allocation

+ n = g_new0 (Gdome_xml_DOMImplementation, 1);

Regards,
Srinivas R Thota


_______________________________________________
gdome mailing list
gdome@...
http://mail.gnome.org/mailman/listinfo/gdome

Re: Fix thread issues

by Gustavo Sverzut Barbieri-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/9/06, Srinivas R Thota <srinivas_thota@...> 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@...
   MSN: barbieri@...
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
 Phone:  +1 (347) 624 6296; 08122692@...
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net
_______________________________________________
gdome mailing list
gdome@...
http://mail.gnome.org/mailman/listinfo/gdome