diff options
Diffstat (limited to 'logview/logview-manager.c')
-rw-r--r-- | logview/logview-manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/logview/logview-manager.c b/logview/logview-manager.c index 6d6bfb05..2448468e 100644 --- a/logview/logview-manager.c +++ b/logview/logview-manager.c @@ -393,6 +393,10 @@ logview_manager_close_active_log (LogviewManager *manager) g_assert (LOGVIEW_IS_MANAGER (manager)); active_log = manager->priv->active_log; + if (active_log == NULL) { + return; + } + log_uri = logview_log_get_uri (active_log); file = logview_log_get_gfile (active_log); |