summaryrefslogtreecommitdiff
path: root/logview
diff options
context:
space:
mode:
Diffstat (limited to 'logview')
-rw-r--r--logview/logview-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/logview/logview-manager.c b/logview/logview-manager.c
index 2448468e..a87da3ec 100644
--- a/logview/logview-manager.c
+++ b/logview/logview-manager.c
@@ -406,8 +406,7 @@ logview_manager_close_active_log (LogviewManager *manager)
g_object_unref (file);
- /* we own two refs to the active log; one is inside the hash table */
- g_object_unref (active_log);
+ /* drop the hash table ref */
g_hash_table_remove (manager->priv->logs, log_uri);
g_free (log_uri);