From a65403c54abd269ed5717a208b61014502e35967 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 11 Aug 2016 23:20:59 +0100 Subject: Remove disco features added by plugins on unload --- src/xmpp/capabilities.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/xmpp') diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c index 218ed2a2..c270bd09 100644 --- a/src/xmpp/capabilities.c +++ b/src/xmpp/capabilities.c @@ -653,6 +653,7 @@ caps_create_query_response_stanza(xmpp_ctx_t *const ctx) curr = g_list_next(curr); } + g_list_free(plugin_features); xmpp_stanza_release(feature_receipts); xmpp_stanza_release(feature_ping); -- cgit 1.4.1-2-gfad0