forked from AuroraMiddleware/gtk
don't g_free() the members of info->tag_stack since they are a) gobjects
2008-02-26 Michael Natterer <mitch@imendio.com> * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free() the members of info->tag_stack since they are a) gobjects and b) not even owned by us, ugh... Fixes crash when deserializing fails. svn path=/trunk/; revision=19657
This commit is contained in:
parent
418374e45b
commit
2b66e18dab
14
ChangeLog
14
ChangeLog
@ -1,3 +1,9 @@
|
|||||||
|
2008-02-26 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
|
* gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
|
||||||
|
the members of info->tag_stack since they are a) gobjects and b)
|
||||||
|
not even owned by us, ugh... Fixes crash when deserializing fails.
|
||||||
|
|
||||||
2008-02-26 Sven Neumann <sven@gimp.org>
|
2008-02-26 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* docs/tools/shooter.c (find_toplevel_window)
|
* docs/tools/shooter.c (find_toplevel_window)
|
||||||
@ -45,10 +51,10 @@
|
|||||||
|
|
||||||
2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
|
2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
|
||||||
|
|
||||||
* gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly acceptable
|
* gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
|
||||||
for a module to only support the save_to_callback() method if it marks itself
|
acceptable for a module to only support the save_to_callback()
|
||||||
as WRITABLE
|
method if it marks itself as WRITABLE
|
||||||
|
|
||||||
2008-02-16 Matthias Clasen <mclasen@redhat.com>
|
2008-02-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* configure.in: Bump version
|
* configure.in: Bump version
|
||||||
|
@ -1625,17 +1625,8 @@ text_span_free (TextSpan *span)
|
|||||||
static void
|
static void
|
||||||
parse_info_free (ParseInfo *info)
|
parse_info_free (ParseInfo *info)
|
||||||
{
|
{
|
||||||
GSList *slist;
|
|
||||||
GList *list;
|
GList *list;
|
||||||
|
|
||||||
slist = info->tag_stack;
|
|
||||||
while (slist)
|
|
||||||
{
|
|
||||||
g_free (slist->data);
|
|
||||||
|
|
||||||
slist = slist->next;
|
|
||||||
}
|
|
||||||
|
|
||||||
g_slist_free (info->tag_stack);
|
g_slist_free (info->tag_stack);
|
||||||
g_slist_free (info->states);
|
g_slist_free (info->states);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user