[Goodies-dev] [Bug 4212] Crashes on exit

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Sep 30 22:13:48 CEST 2008


http://bugzilla.xfce.org/show_bug.cgi?id=4212





--- Comment #4 from Enrico Tröger <enrico.troeger at uvena.de>  2008-09-30 20:13:47 UTC ---
Created an attachment (id=1850)
 --> (http://bugzilla.xfce.org/attachment.cgi?id=1850)
Possible fix for the crashes

I spent some more time on this issue since it still exists and is very
annoying.

This time I was more successful and this patch fixes these issues (actually it
was not only one bug but a whole couple).

The reason for the crashes is that you use often things like:
chip->name = _("blah");
and then later in the code you use:
g_free(chip->name);
this must crash, obviously.

I fixed all relevant occurrences I could find, see attached patch.
Please don't mix static and dynamically allocated strings :).

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Goodies-dev mailing list