summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-02-17 13:58:27 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-02-17 13:58:27 +0100
commiteaf3319ed342d008893c613817cc5dc13449098c (patch)
treeaea26e6fd006255edd2118ad29a9f08fe613f3a5 /src
parentf87432f98feea2b885219bce8c327a13a4b69a5b (diff)
downloadweechat-eaf3319ed342d008893c613817cc5dc13449098c.zip
Free all proxies before exiting
Diffstat (limited to 'src')
-rw-r--r--src/core/weechat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/weechat.c b/src/core/weechat.c
index d02e18012..017ac95ec 100644
--- a/src/core/weechat.c
+++ b/src/core/weechat.c
@@ -57,6 +57,7 @@
#include "wee-hook.h"
#include "wee-log.h"
#include "wee-network.h"
+#include "wee-proxy.h"
#include "wee-string.h"
#include "wee-upgrade.h"
#include "wee-utf8.h"
@@ -420,6 +421,7 @@ main (int argc, char *argv[])
if (CONFIG_BOOLEAN(config_look_save_config_on_exit))
(void) config_weechat_write (NULL); /* save WeeChat config file */
gui_main_end (1); /* shut down WeeChat GUI */
+ proxy_free_all (); /* free all proxies */
config_file_free_all (); /* free all configuration files */
gui_keyboard_end (); /* end keyboard */
unhook_all (); /* remove all hooks */