Skip to content
Snippets Groups Projects
Commit cde1f972 authored by Matt Jordan's avatar Matt Jordan Committed by Gerrit Code Review
Browse files

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

parents fe52fa5c 0b63d011
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment