Merge "res_stasis_mailbox.c: Fix leak of mailbox container." into 13

This commit is contained in:
Jenkins2
2017-11-06 06:27:29 -06:00
committed by Gerrit Code Review

View File

@@ -95,6 +95,7 @@ struct ast_json *stasis_app_mailboxes_to_json()
}
}
ao2_iterator_destroy(&iter);
ao2_ref(mailboxes, -1);
return array;
}