Before GIO, the code to free the metafile read state handled NULL
states, but now with GIO, it doesn't.
Proposed patch attached - it should fix bug 512042:
http://bugzilla.gnome.org/show_bug.cgi?id=512042
best regards,
Christian Neumair
--
Christian Neumair <[EMAIL PROTECTED]>
Index: libnautilus-private/nautilus-metafile.c
===================================================================
--- libnautilus-private/nautilus-metafile.c (Revision 13805)
+++ libnautilus-private/nautilus-metafile.c (Arbeitskopie)
@@ -1723,6 +1723,10 @@ metafile_read_cancel (NautilusMetafile *
static void
metafile_read_state_free (MetafileReadState *state)
{
+ if (state == NULL) {
+ return;
+ }
+
g_object_unref (state->cancellable);
g_free (state);
}
--
nautilus-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/nautilus-list