diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-08-15 09:33:25 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-08-15 09:33:25 +0200 |
commit | aff752c50b468d0f641a43d5118b1ca6d42cc73d (patch) | |
tree | 1d0718545ab0e1d5737ff175ff79d735dc063b69 /src/plugins | |
parent | bb8ac59c32a82bda8c2904c1ad24a8ed97a3800c (diff) | |
download | weechat-aff752c50b468d0f641a43d5118b1ca6d42cc73d.zip |
trigger: fix memory leak in hook_line trigger callback
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/trigger/trigger-callback.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/trigger/trigger-callback.c b/src/plugins/trigger/trigger-callback.c index 0ef7cc279..b7fc81ad6 100644 --- a/src/plugins/trigger/trigger-callback.c +++ b/src/plugins/trigger/trigger-callback.c @@ -892,6 +892,9 @@ trigger_callback_line_cb (const void *pointer, void *data, } end: + if (tags) + weechat_string_free_split (tags); + TRIGGER_CALLBACK_CB_END(hashtable); } |