mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 14:56:39 +02:00
irc: fix memory leak in infos "irc_server_isupport" and "irc_server_isupport_value"
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user