diff --git a/ssl/d1_srtp.c b/ssl/d1_srtp.c index f969fb10b11e493afba2b1698cea7147c502d206..e49aea9be1e4bf5866d47834c1b976819e1e4375 100644 --- a/ssl/d1_srtp.c +++ b/ssl/d1_srtp.c @@ -197,6 +197,8 @@ static int ssl_ctx_make_profiles(const char *profiles_string, ptr = col + 1; } while (col); + sk_SRTP_PROTECTION_PROFILE_free(*out); + *out = profiles; return 0;