Merge "res_pjsip_pubsub: Fix crash on destruction of empty subscription tree." into 13

changes/33/1533/1
Matt Jordan 10 years ago committed by Gerrit Code Review
commit d9be087da4

@ -1079,6 +1079,10 @@ static void destroy_subscriptions(struct ast_sip_subscription *root)
{
int i;
if (!root) {
return;
}
for (i = 0; i < AST_VECTOR_SIZE(&root->children); ++i) {
struct ast_sip_subscription *child;

Loading…
Cancel
Save