mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
res_stasis_mailbox.c: Fix leak of mailbox container.
Change-Id: I7d33c1635713047e7d1597c9d882f7dc006d94b4
This commit is contained in:
@@ -95,6 +95,7 @@ struct ast_json *stasis_app_mailboxes_to_json()
|
||||
}
|
||||
}
|
||||
ao2_iterator_destroy(&iter);
|
||||
ao2_ref(mailboxes, -1);
|
||||
|
||||
return array;
|
||||
}
|
||||
|
Reference in New Issue
Block a user