summaryrefslogtreecommitdiff
path: root/lib/libssl/d1_srtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/d1_srtp.c')
-rw-r--r--lib/libssl/d1_srtp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libssl/d1_srtp.c b/lib/libssl/d1_srtp.c
index 98bb24b4fef..a9f45a2d9a0 100644
--- a/lib/libssl/d1_srtp.c
+++ b/lib/libssl/d1_srtp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: d1_srtp.c,v 1.17 2017/01/23 06:45:30 beck Exp $ */
+/* $OpenBSD: d1_srtp.c,v 1.18 2017/01/24 15:04:12 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -371,8 +371,7 @@ ssl_parse_clienthello_use_srtp_ext(SSL *s, const unsigned char *d, int len,
ret = 0;
done:
- if (clnt)
- sk_SRTP_PROTECTION_PROFILE_free(clnt);
+ sk_SRTP_PROTECTION_PROFILE_free(clnt);
return ret;
}