Menu

#63 Fix random crashes when adding files to project

open
nobody
None
5
2010-01-14
2010-01-14
No

I have posted this patch to gnomebaker-devel list which probably wasn't a good idea... So once again: GnomeBaker allocates GtkSelectionData structures using g_new0() and then calls gtk_selection_data_free() ro release them. The latter function however expects a pointer to a memory allocated as a GLib memory slice. This leads to random crashes (I think also those reported here in the forums). Please consider applying the attached patch.

Regards,
Tomas

Discussion

  • Tomas Smetana

    Tomas Smetana - 2010-01-14

    Proposed patch

     
  • Thomas Zajic

    Thomas Zajic - 2010-08-08

    You're my hero! :-) Looks like the freezes/crashes are indeed gone with your patch. Yay, thanks a lot!

     

Log in to post a comment.