1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

xfer: fix memory leak on plugin unload

This commit is contained in:
Sébastien Helleu
2023-09-12 13:38:14 +02:00
parent 1fcbdb3bd9
commit f43ed913f5
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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;
+2
View File
@@ -1842,5 +1842,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
xfer_free_all ();
weechat_config_free (xfer_config_file);
return WEECHAT_RC_OK;
}