about summary refs log tree commit diff stats
path: root/xxxterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'xxxterm.c')
-rw-r--r--xxxterm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 46edf47..381b0fd 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -4502,6 +4502,7 @@ undo_close_tab_push(const gchar *uri)
 	if (undo_count > XT_MAX_UNDO_CLOSE_TAB) {
 		u2 = TAILQ_LAST(&undos, undo_tailq);
 		TAILQ_REMOVE(&undos, u2, entry);
+		g_free(u2->uri);
 		g_free(u2);
 	} else
 		undo_count++;