aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ssl/d1_srtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/d1_srtp.c b/ssl/d1_srtp.c
index f969fb10b1..e49aea9be1 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;