diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-05-24 13:35:09 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-05-24 13:35:09 +0200 |
commit | a2af4c31842e36321dfc2352af7590b637f90a74 (patch) | |
tree | ba2f1a599d860a5b28ba5f809bdea53fe976df0d | |
parent | 242ffbcf7033649534d0acdf250cee90b08723e6 (diff) | |
download | profani-tty-a2af4c31842e36321dfc2352af7590b637f90a74.tar.gz |
Fix memleak in bookmark minimize
Introduced in 36f2569e53e67fda6023c5ec5f6a7714cbce1946
-rw-r--r-- | src/xmpp/bookmark.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/bookmark.c b/src/xmpp/bookmark.c index b23ad24b..a28b6107 100644 --- a/src/xmpp/bookmark.c +++ b/src/xmpp/bookmark.c @@ -316,6 +316,7 @@ _bookmark_result_id_handler(xmpp_stanza_t *const stanza, void *const userdata) } else if (strcmp(min_str, "false") == 0) { minimize = 2; } + free(min_str); } autocomplete_add(bookmark_ac, barejid); |