about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-05-24 13:35:09 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-05-24 13:35:09 +0200
commita2af4c31842e36321dfc2352af7590b637f90a74 (patch)
treeba2f1a599d860a5b28ba5f809bdea53fe976df0d /src/xmpp
parent242ffbcf7033649534d0acdf250cee90b08723e6 (diff)
downloadprofani-tty-a2af4c31842e36321dfc2352af7590b637f90a74.tar.gz
Fix memleak in bookmark minimize
Introduced in 36f2569e53e67fda6023c5ec5f6a7714cbce1946
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/bookmark.c1
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);