gobjectification: 0aad73fe: Don't g_free a GObject.
sadrul at pidgin.im
sadrul at pidgin.im
Fri Mar 14 19:40:37 EDT 2008
-----------------------------------------------------------------
Revision: 0aad73febcdaf5a57535957fb99494bef41d458d
Ancestor: b0668b8f2645d273af8b802f7f4c4c0a19188c9c
Author: sadrul at pidgin.im
Date: 2008-03-14T20:24:25
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/0aad73febcdaf5a57535957fb99494bef41d458d
Modified files:
libpurple/connection.c
ChangeLog:
Don't g_free a GObject.
-------------- next part --------------
============================================================
--- libpurple/connection.c 330f1515a43a6a78c0f1b41591b5b2202ed2aadd
+++ libpurple/connection.c f43d120e5fe51572193c734b86b2066fb6459c1d
@@ -361,7 +361,8 @@ purple_connection_destroy(PurpleConnecti
purple_timeout_remove(gc->priv->disconnect_timeout);
PURPLE_DBUS_UNREGISTER_POINTER(gc);
- g_free(gc);
+#warning TODO: Much of the above should be moved to purple_connection_finalize
+ g_object_unref(G_OBJECT(gc));
}
/*
More information about the Commits
mailing list