[empathy] don't leak the fullscreen window



commit c34f2be5d70d9a45b953b4f9b0f09b9b1ee4a231
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Mar 31 13:00:33 2010 +0200

    don't leak the fullscreen window

 src/empathy-call-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 6680d00..6a5038d 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1467,6 +1467,10 @@ empathy_call_window_dispose (GObject *object)
     g_object_unref (priv->ui_manager);
   priv->ui_manager = NULL;
 
+  if (priv->fullscreen != NULL)
+    g_object_unref (priv->fullscreen);
+  priv->fullscreen = NULL;
+
   if (priv->contact != NULL)
     {
       g_signal_handlers_disconnect_by_func (priv->contact,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]