diff options
author | Mike Ruprecht <mike.ruprecht@collabora.co.uk> | 2009-10-15 06:47:16 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-10-19 17:25:46 +0800 |
commit | a7439d664bed1547019591dee97b4ed5fa09f434 (patch) | |
tree | 38a96b46d16702cf0578dab4e5a7dc41b6843220 /src/empathy-call-window.c | |
parent | 03d7564f4936a56034bab91a5963ccab34fc5321 (diff) | |
download | gsoc2013-empathy-a7439d664bed1547019591dee97b4ed5fa09f434.tar gsoc2013-empathy-a7439d664bed1547019591dee97b4ed5fa09f434.tar.gz gsoc2013-empathy-a7439d664bed1547019591dee97b4ed5fa09f434.tar.bz2 gsoc2013-empathy-a7439d664bed1547019591dee97b4ed5fa09f434.tar.lz gsoc2013-empathy-a7439d664bed1547019591dee97b4ed5fa09f434.tar.xz gsoc2013-empathy-a7439d664bed1547019591dee97b4ed5fa09f434.tar.zst gsoc2013-empathy-a7439d664bed1547019591dee97b4ed5fa09f434.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.c | 3 |
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; |