diff options
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | src/plugins/irc/irc-info.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 44801ddf9..e07eaaa2f 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -38,6 +38,7 @@ Bug fixes:: * core: set max length to 4096 for /secure passphrase (issue #1323) * core: refilter only affected buffers on filter change (issue #1309, issue #1311) * fset: fix slow refresh of fset buffer during /reload (issue #1313) + * irc: fix memory leak in infos "irc_server_isupport" and "irc_server_isupport_value" * irc: fix length of string for SHA-512, SHA-256 and SHA-1 in help on ssl_fingerprint option * irc: display an error with /allchan -current or /allpv -current if the current buffer is not an irc buffer (issue #1325) * irc: fix update of channels modes with arguments when joining a channel (issue #1324) diff --git a/src/plugins/irc/irc-info.c b/src/plugins/irc/irc-info.c index 5c5b0d05d..d63b700f3 100644 --- a/src/plugins/irc/irc-info.c +++ b/src/plugins/irc/irc-info.c @@ -334,6 +334,7 @@ irc_info_info_irc_server_isupport_cb (const void *pointer, void *data, isupport_value = irc_server_get_isupport_value (ptr_server, pos_comma + 1); } + free (server); } } @@ -371,6 +372,7 @@ irc_info_info_irc_server_isupport_value_cb (const void *pointer, void *data, isupport_value = irc_server_get_isupport_value (ptr_server, pos_comma + 1); } + free (server); } } |