aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorMike Ruprecht <mike.ruprecht@collabora.co.uk>2009-10-15 06:47:16 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-19 17:22:07 +0800
commit936cc96c4491e2917e906be90a48090f269c5c1a (patch)
tree5f50b908c0ef320980b163a394776828632ab6a3 /src/empathy-call-window.c
parent1635293a366236888d8ac1ef0f681d2f0995643a (diff)
downloadgsoc2013-empathy-936cc96c4491e2917e906be90a48090f269c5c1a.tar
gsoc2013-empathy-936cc96c4491e2917e906be90a48090f269c5c1a.tar.gz
gsoc2013-empathy-936cc96c4491e2917e906be90a48090f269c5c1a.tar.bz2
gsoc2013-empathy-936cc96c4491e2917e906be90a48090f269c5c1a.tar.lz
gsoc2013-empathy-936cc96c4491e2917e906be90a48090f269c5c1a.tar.xz
gsoc2013-empathy-936cc96c4491e2917e906be90a48090f269c5c1a.tar.zst
gsoc2013-empathy-936cc96c4491e2917e906be90a48090f269c5c1a.zip
Fix assertion when closing a call window after CM crashed.
g_object_unref was called on a NULL pointer.
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 363d29441..c274ee2a6 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1087,10 +1087,9 @@ empathy_call_window_dispose (GObject *object)
{
g_signal_handlers_disconnect_by_func (call,
empathy_call_window_video_stream_changed_cb, object);
+ g_object_unref (call);
}
- g_object_unref (call);
-
if (priv->handler != NULL)
g_object_unref (priv->handler);
priv->handler = NULL;