about summary refs log tree commit diff stats
path: root/src/xmpp/capabilities.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-08-11 23:20:59 +0100
committerJames Booth <boothj5@gmail.com>2016-08-11 23:20:59 +0100
commita65403c54abd269ed5717a208b61014502e35967 (patch)
tree0aec778abcebd8caa3ce40ae0f354e4b61e72aa8 /src/xmpp/capabilities.c
parentbb676cc0fcc3943dc111c4f9e54090337b5e3b79 (diff)
downloadprofani-tty-a65403c54abd269ed5717a208b61014502e35967.tar.gz
Remove disco features added by plugins on unload
Diffstat (limited to 'src/xmpp/capabilities.c')
-rw-r--r--src/xmpp/capabilities.c1
1 files changed, 1 insertions, 0 deletions
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);