summaryrefslogtreecommitdiff
path: root/res/res_xmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_xmpp.c')
-rw-r--r--res/res_xmpp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_xmpp.c b/res/res_xmpp.c
index 031d367a6..bec68b786 100644
--- a/res/res_xmpp.c
+++ b/res/res_xmpp.c
@@ -4375,6 +4375,7 @@ static int load_module(void)
aco_option_register_custom(&cfg_info, "buddy", ACO_EXACT, client_options, NULL, client_buddy_handler, 0);
if (aco_process_config(&cfg_info, 0) == ACO_PROCESS_ERROR) {
+ aco_info_destroy(&cfg_info);
return AST_MODULE_LOAD_DECLINE;
}