diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-12-25 16:59:46 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-12-25 16:59:46 +0100 |
commit | 306b2094210be55d43e896f875cfb7b62b509fab (patch) | |
tree | 8f6d61188e24bff3a89bd85ad67ba9165ad55c31 /src/plugins | |
parent | e557239a4cb43f70d7fa33ffe44bd5718bf9fd2f (diff) | |
download | weechat-306b2094210be55d43e896f875cfb7b62b509fab.zip |
relay: fix memory leak when adding hdata to a message (weechat protocol)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/relay/weechat/relay-weechat-msg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/relay/weechat/relay-weechat-msg.c b/src/plugins/relay/weechat/relay-weechat-msg.c index 741059473..b5cd4bee4 100644 --- a/src/plugins/relay/weechat/relay-weechat-msg.c +++ b/src/plugins/relay/weechat/relay-weechat-msg.c @@ -700,6 +700,7 @@ relay_weechat_msg_add_hdata (struct t_relay_weechat_msg *msg, ptr_hdata_head, pointer, list_keys); + free (path_pointers); } count32 = htonl ((uint32_t)count); relay_weechat_msg_set_bytes (msg, pos_count, &count32, 4); |