diff options
author | Aloys Augustin <aloaugus@cisco.com> | 2020-09-10 15:28:18 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-09-15 08:34:37 +0000 |
commit | 6f1a86f1874261817618da086c7158b7646efebb (patch) | |
tree | 0ac86fa982d2d56c1860be8d651ca9b6318c1469 /src/plugins/quic | |
parent | 758e6776a8f58782a8603fb9b5cc8d120dbe6ba2 (diff) |
quic: fix coverity warning
Change-Id: Ic31cde8564a0705710d91e0a7b90dcc6cf2f8db6
Type: fix
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
Diffstat (limited to 'src/plugins/quic')
-rw-r--r-- | src/plugins/quic/quic_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |