[libdmapsharing] Do a better job finalizing DMAPConnection objects Signed-off-by: W. Michael Petullo <mike flyn org>
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Do a better job finalizing DMAPConnection objects Signed-off-by: W. Michael Petullo <mike flyn org>
- Date: Fri, 4 Feb 2011 03:51:37 +0000 (UTC)
commit 82ec10d28b1ce68f5142c66a16e345da5b02e877
Author: W. Michael Petullo <mike flyn org>
Date: Thu Feb 3 17:41:53 2011 -0600
Do a better job finalizing DMAPConnection objects
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/dmap-connection.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libdmapsharing/dmap-connection.c b/libdmapsharing/dmap-connection.c
index 751cc0f..3a92974 100644
--- a/libdmapsharing/dmap-connection.c
+++ b/libdmapsharing/dmap-connection.c
@@ -138,6 +138,12 @@ dmap_connection_finalize (GObject *object)
g_return_if_fail (connection->priv != NULL);
+ g_free (connection->priv->name);
+ g_free (connection->priv->host);
+
+ g_object_unref (connection->priv->db);
+ g_object_unref (connection->priv->record_factory);
+
g_debug ("Finalize");
G_OBJECT_CLASS (dmap_connection_parent_class)->finalize (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]