diff options
Diffstat (limited to 'src/lib/libcrypto/engine')
| -rw-r--r-- | src/lib/libcrypto/engine/eng_dyn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/engine/eng_dyn.c b/src/lib/libcrypto/engine/eng_dyn.c index 7878bd802e..f59d768350 100644 --- a/src/lib/libcrypto/engine/eng_dyn.c +++ b/src/lib/libcrypto/engine/eng_dyn.c | |||
| @@ -222,8 +222,7 @@ static int dynamic_set_data_ctx(ENGINE *e, dynamic_data_ctx **ctx) | |||
| 222 | CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); | 222 | CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); |
| 223 | /* If we lost the race to set the context, c is non-NULL and *ctx is the | 223 | /* If we lost the race to set the context, c is non-NULL and *ctx is the |
| 224 | * context of the thread that won. */ | 224 | * context of the thread that won. */ |
| 225 | if(c) | 225 | free(c); |
| 226 | free(c); | ||
| 227 | return 1; | 226 | return 1; |
| 228 | } | 227 | } |
| 229 | 228 | ||
