libgda r3115 - in branches/release-3-0-branch: . libgda
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: libgda r3115 - in branches/release-3-0-branch: . libgda
- Date: Sat, 5 Apr 2008 16:16:06 +0100 (BST)
Author: murrayc
Date: Sat Apr 5 16:16:06 2008
New Revision: 3115
URL: http://svn.gnome.org/viewvc/libgda?rev=3115&view=rev
Log:
2008-04-05 Murray Cumming <murrayc murrayc com>
* libgda/gda-connection.c (gda_connection_dispose): Unref the client,
to fix a leak. Bug #526034.
Modified:
branches/release-3-0-branch/ChangeLog
branches/release-3-0-branch/libgda/gda-connection.c
Modified: branches/release-3-0-branch/libgda/gda-connection.c
==============================================================================
--- branches/release-3-0-branch/libgda/gda-connection.c (original)
+++ branches/release-3-0-branch/libgda/gda-connection.c Sat Apr 5 16:16:06 2008
@@ -239,6 +239,11 @@
cnc->priv->trans_status = NULL;
}
+ if (cnc->priv->client) {
+ g_object_unref (cnc->priv->client);
+ cnc->priv->client = NULL;
+ }
+
/* chain to parent class */
parent_class->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]