quic: fix coverity warning 96/28796/2
authorAloys Augustin <aloaugus@cisco.com>
Thu, 10 Sep 2020 15:28:18 +0000 (15:28 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 15 Sep 2020 08:34:37 +0000 (08:34 +0000)
Change-Id: Ic31cde8564a0705710d91e0a7b90dcc6cf2f8db6
Type: fix
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
src/plugins/quic/quic_crypto.c

index d8fd4a9..daf39e8 100644 (file)
@@ -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;