]> jfr.im git - irc/weechat/weechat.git/commitdiff
buflist: fix memory leak when reading config and changing option buflist.look.sort
authorSébastien Helleu <redacted>
Sat, 16 Apr 2022 18:24:24 +0000 (20:24 +0200)
committerSébastien Helleu <redacted>
Sat, 16 Apr 2022 18:24:24 +0000 (20:24 +0200)
ChangeLog.adoc
src/plugins/buflist/buflist-config.c

index 8c656885a6e59c5a3a9acbb5c6ea243f7bd65eaa..76cab67f6649de4908208c863259930cfd7e7c5c 100644 (file)
@@ -21,6 +21,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
 Bug fixes::
 
   * core: fix bad window size on startup with some terminals like https://github.com/kovidgoyal/kitty[kitty] (issue #1769)
+  * buflist: fix memory leak when reading config and changing option buflist.look.sort
   * relay: fix save of channels in autojoin option when JOIN and PART commands are received from an IRC relay client (issue #1771)
 
 [[v3.5]]
index a26509e1192169c14d0726b3c6da3b0a9dc63a9c..2148757f1b91f16809a0cfd31dbde6222c34a072 100644 (file)
@@ -323,6 +323,8 @@ buflist_config_change_sort (const void *pointer, void *data,
             free (sort);
     }
 
+    weechat_hashtable_free (hashtable_pointers);
+
     buflist_bar_item_update (0);
 }