diff options
author | Stevan Andjelkovic <stevan.andjelkovic@strath.ac.uk> | 2012-01-05 03:02:14 +0100 |
---|---|---|
committer | Stevan Andjelkovic <stevan.andjelkovic@strath.ac.uk> | 2012-01-05 03:02:14 +0100 |
commit | f3549778e7c4473f06c5d2d83422ea4a89d45371 (patch) | |
tree | 61926567ca21ecb8680a44daa64b86904a40347c | |
parent | 37ea86a4ef1e4f05660a0e1a410597b9df6c4ca1 (diff) | |
download | xombrero-f3549778e7c4473f06c5d2d83422ea4a89d45371.tar.gz |
Fix qmarks (FS#224)
Thanks Andy Valencia (vandys)
-rw-r--r-- | xxxterm.c | 4 |
1 files changed, 3 insertions, 1 deletions
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)); |