[empathy/gnome-2-28] Fix assertion when closing a call window after CM crashed.
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-28] Fix assertion when closing a call window after CM crashed.
- Date: Mon, 19 Oct 2009 09:22:32 +0000 (UTC)
commit 936cc96c4491e2917e906be90a48090f269c5c1a
Author: Mike Ruprecht <mike ruprecht collabora co uk>
Date: Wed Oct 14 17:47:16 2009 -0500
Fix assertion when closing a call window after CM crashed.
g_object_unref was called on a NULL pointer.
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 363d294..c274ee2 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]