aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-07-12 17:26:17 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-07-12 17:26:17 +0800
commit55d7a944fa0783718a69e4d1b5e574f326befa58 (patch)
tree6739aea6e1aa738e62b8dc868b362e9d6439ff9b
parent4305ae9d96e4a6b3fb749b64d6d0c4b0045ab1fc (diff)
downloadgsoc2013-empathy-55d7a944fa0783718a69e4d1b5e574f326befa58.tar
gsoc2013-empathy-55d7a944fa0783718a69e4d1b5e574f326befa58.tar.gz
gsoc2013-empathy-55d7a944fa0783718a69e4d1b5e574f326befa58.tar.bz2
gsoc2013-empathy-55d7a944fa0783718a69e4d1b5e574f326befa58.tar.lz
gsoc2013-empathy-55d7a944fa0783718a69e4d1b5e574f326befa58.tar.xz
gsoc2013-empathy-55d7a944fa0783718a69e4d1b5e574f326befa58.tar.zst
gsoc2013-empathy-55d7a944fa0783718a69e4d1b5e574f326befa58.zip
LogWindow: stop retrieving logs if the window is closed
-rw-r--r--libempathy-gtk/empathy-log-window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index 6cff6beb9..e5c935011 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -3136,7 +3136,10 @@ log_manager_got_dates_cb (GObject *manager,
GError *error = NULL;
if (log_window == NULL)
- goto out;
+ {
+ ctx_free (ctx);
+ return;
+ }
if (log_window->priv->count != ctx->count)
goto out;