From 6f1a86f1874261817618da086c7158b7646efebb Mon Sep 17 00:00:00 2001 From: Aloys Augustin Date: Thu, 10 Sep 2020 15:28:18 +0000 Subject: [PATCH] quic: fix coverity warning Change-Id: Ic31cde8564a0705710d91e0a7b90dcc6cf2f8db6 Type: fix Signed-off-by: Aloys Augustin --- src/plugins/quic/quic_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/quic/quic_crypto.c b/src/plugins/quic/quic_crypto.c index d8fd4a916e6..daf39e87032 100644 --- a/src/plugins/quic/quic_crypto.c +++ b/src/plugins/quic/quic_crypto.c @@ -208,7 +208,7 @@ quic_crypto_setup_cipher (quicly_crypto_engine_t * engine, Exit: if (ret != 0) { - if (aead_ctx && *aead_ctx != NULL) + if (*aead_ctx != NULL) { ptls_aead_free (*aead_ctx); *aead_ctx = NULL; -- 2.16.6