Fix memory leaks when using add_objects

This commit is contained in:
Paolo Borelli 2009-08-14 11:33:47 +02:00
parent 0696bc8e86
commit 03018f1d01

View File

@ -380,7 +380,12 @@ parse_object (GMarkupParseContext *context,
data->inside_requested_object = TRUE;
}
else
return;
{
g_free (object_class);
g_free (object_id);
g_free (constructor);
return;
}
}
object_info = g_slice_new0 (ObjectInfo);