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

changes/07/7007/1
Joshua Colp 8 years ago committed by Gerrit Code Review
commit 1ee2907a16

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

Loading…
Cancel
Save