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:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user