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

certified/13.21
Jenkins2 8 years ago committed by Gerrit Code Review
commit 5c47ee4476

@ -510,6 +510,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;
}
}

Loading…
Cancel
Save