]> git.0d.be Git - empathy.git/commitdiff
LogWindow: stop retrieving logs if the window is closed
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Tue, 12 Jul 2011 09:26:17 +0000 (10:26 +0100)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Tue, 12 Jul 2011 09:26:17 +0000 (10:26 +0100)
libempathy-gtk/empathy-log-window.c

index 6cff6beb9880fed5c934913dbeab122757284186..e5c93501142385f23b4ca4598dc7e08c12159024 100644 (file)
@@ -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;