summaryrefslogtreecommitdiff
path: root/src/gl-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl-window.c')
-rw-r--r--src/gl-window.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gl-window.c b/src/gl-window.c
index 65b67e8..a06f1d4 100644
--- a/src/gl-window.c
+++ b/src/gl-window.c
@@ -195,9 +195,9 @@ on_view_boot (GSimpleAction *action,
GlEventToolbar *toolbar;
GArray *boot_ids;
GlJournalBootID *boot_id;
- gchar *current_boot;
const gchar *boot_match;
- const gchar *latest_boot;
+ gchar *current_boot;
+ gchar *latest_boot;
priv = gl_window_get_instance_private (GL_WINDOW (user_data));
event_list = GL_EVENT_VIEW_LIST (priv->event_list);
@@ -224,6 +224,7 @@ on_view_boot (GSimpleAction *action,
g_simple_action_set_state (action, variant);
g_free (current_boot);
+ g_free (latest_boot);
}
static void