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

This commit is contained in:
Joshua Colp
2017-11-06 07:07:00 -06:00
committed by Gerrit Code Review

View File

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