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

pull/9/head
Jenkins2 8 years ago committed by Gerrit Code Review
commit d6213397f0

@ -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;
}
}

Loading…
Cancel
Save