summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/xfer/xfer-config.h2
-rw-r--r--src/plugins/xfer/xfer.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/xfer/xfer-config.h b/src/plugins/xfer/xfer-config.h
index d22807b51..995ecb82c 100644
--- a/src/plugins/xfer/xfer-config.h
+++ b/src/plugins/xfer/xfer-config.h
@@ -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;
diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c
index 0c8c317c8..aaa13680a 100644
--- a/src/plugins/xfer/xfer.c
+++ b/src/plugins/xfer/xfer.c
@@ -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;
}