[empathy] call-factory: don't leak the handler
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] call-factory: don't leak the handler
- Date: Wed, 11 Aug 2010 08:12:10 +0000 (UTC)
commit e497426234daf06bded1096fee6596b1e367a018
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Jun 29 16:45:34 2010 +0200
call-factory: don't leak the handler
libempathy/empathy-call-factory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-call-factory.c b/libempathy/empathy-call-factory.c
index 945bbd4..0021b39 100644
--- a/libempathy/empathy-call-factory.c
+++ b/libempathy/empathy-call-factory.c
@@ -143,7 +143,7 @@ empathy_call_factory_dispose (GObject *object)
priv->dispose_has_run = TRUE;
- /* release any references held by the object here */
+ tp_clear_object (&priv->handler);
if (G_OBJECT_CLASS (empathy_call_factory_parent_class)->dispose)
G_OBJECT_CLASS (empathy_call_factory_parent_class)->dispose (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]