From f3549778e7c4473f06c5d2d83422ea4a89d45371 Mon Sep 17 00:00:00 2001 From: Stevan Andjelkovic Date: Thu, 5 Jan 2012 03:02:14 +0100 Subject: Fix qmarks (FS#224) Thanks Andy Valencia (vandys) --- xxxterm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xxxterm.c b/xxxterm.c index 240fd5c..0cdca75 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -4552,8 +4552,10 @@ qmark(struct tab *t, struct karg *arg) switch (arg->i) { case XT_QMARK_SET: - if (qmarks[index] != NULL) + if (qmarks[index] != NULL) { g_free(qmarks[index]); + qmarks[index] = NULL; + } qmarks_load(); /* sync if multiple instances */ qmarks[index] = g_strdup(get_uri(t)); -- cgit 1.4.1-2-gfad0