You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
420 B
13 lines
420 B
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
|
|
index 51c2283db915d..0928a30c2d37b 100644
|
|
--- a/ssl/t1_lib.c
|
|
+++ b/ssl/t1_lib.c
|
|
@@ -765,6 +765,7 @@ int tls1_set_groups_list(SSL_CTX *ctx, uint16_t **pext, size_t *pextlen,
|
|
tmparr = OPENSSL_memdup(gcb.gid_arr, gcb.gidcnt * sizeof(*tmparr));
|
|
if (tmparr == NULL)
|
|
goto end;
|
|
+ OPENSSL_free(*pext);
|
|
*pext = tmparr;
|
|
*pextlen = gcb.gidcnt;
|
|
ret = 1;
|