1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

core: fix memory leak when removing a hdata

This commit is contained in:
Sebastien Helleu
2014-03-02 17:59:08 +01:00
parent 4b57c95494
commit 32a4f4e1d5
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
== Version 0.4.4 (under dev)
* core: fix memory leak when removing a hdata
* core: fix memory leak in evaluation of sub-conditions
* core: fix memory leak in function gui_key_add_to_infolist (in case of
insufficient memory)
+2
View File
@@ -967,6 +967,8 @@ hdata_free (struct t_hdata *hdata)
free (hdata->var_next);
if (hdata->hash_list)
hashtable_free (hdata->hash_list);
if (hdata->name)
free (hdata->name);
free (hdata);
}