Skip to content
Snippets Groups Projects
Commit d6213397 authored by Jenkins2's avatar Jenkins2 Committed by Gerrit Code Review
Browse files

Merge "res_pjsip: Fix leak on error in ast_sip_auth_vector_init."

parents 250d905f 29205e7a
Branches
Tags
No related merge requests found
......@@ -508,6 +508,8 @@ int ast_sip_auth_vector_init(struct ast_sip_auth_vector *auths, const char *valu
goto failure;
}
if (AST_VECTOR_APPEND(auths, val)) {
ast_free(val);
goto failure;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment