diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-raw.h | 1 | ||||
-rw-r--r-- | src/plugins/irc/irc.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-raw.h b/src/plugins/irc/irc-raw.h index 692aa69ab..6b06ef0c6 100644 --- a/src/plugins/irc/irc-raw.h +++ b/src/plugins/irc/irc-raw.h @@ -47,6 +47,7 @@ extern struct t_irc_raw_message *irc_raw_message_add_to_list (time_t date, const char *message); extern void irc_raw_print (struct t_irc_server *server, int send, int modified, const char *message); +extern void irc_raw_message_free_all (); extern int irc_raw_add_to_infolist (struct t_infolist *infolist, struct t_irc_raw_message *raw_message); diff --git a/src/plugins/irc/irc.c b/src/plugins/irc/irc.c index a659d10a2..b2d7f0283 100644 --- a/src/plugins/irc/irc.c +++ b/src/plugins/irc/irc.c @@ -36,6 +36,7 @@ #include "irc-server.h" #include "irc-channel.h" #include "irc-nick.h" +#include "irc-raw.h" #include "irc-upgrade.h" @@ -250,6 +251,8 @@ weechat_plugin_end (struct t_weechat_plugin *plugin) irc_server_disconnect_all (); } + irc_raw_message_free_all (); + irc_server_free_all (); irc_config_free (); |