diff options
-rw-r--r-- | src/fe-text/textbuffer-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c index c0853d8d..b8c12c07 100644 --- a/src/fe-text/textbuffer-view.c +++ b/src/fe-text/textbuffer-view.c @@ -1056,6 +1056,8 @@ static void view_bookmarks_check(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line) if (new_line != NULL) { g_hash_table_insert(view->bookmarks, tmp->data, new_line); + } else { + g_free(tmp->data); } } g_slist_free(rec.remove_list); |