mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
xfer: fix memory leak on plugin unload
This commit is contained in:
@@ -68,6 +68,7 @@ Bug fixes::
|
||||
* script: add parameters up/down/go in `/help script` and command completion
|
||||
* script: fix cursor position after `/script list -i` or `/script list -il`
|
||||
* script: fix buffer used by command `/script list -i|-il|-o|-ol`
|
||||
* xfer: fix memory leak on plugin unload
|
||||
* xfer: display an error message when opening file for read or write fails (issue #2010)
|
||||
|
||||
Tests::
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#define XFER_CONFIG_PROGRESS_BAR_MAX_SIZE 256
|
||||
|
||||
extern struct t_config_file *xfer_config;
|
||||
extern struct t_config_file *xfer_config_file;
|
||||
|
||||
extern struct t_config_option *xfer_config_look_auto_open_buffer;
|
||||
extern struct t_config_option *xfer_config_look_progress_bar_size;
|
||||
|
||||
@@ -1881,5 +1881,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
|
||||
|
||||
xfer_free_all ();
|
||||
|
||||
weechat_config_free (xfer_config_file);
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user