Coverity 1515540: resource leak
authorPauli <pauli@openssl.org>
Mon, 26 Sep 2022 00:02:46 +0000 (10:02 +1000)
committerTomas Mraz <tomas@openssl.org>
Tue, 27 Sep 2022 11:58:13 +0000 (13:58 +0200)
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19275)

test/pkcs12_format_test.c

index bfb4ac058c514a6d1a29378d2f4d1a4522175e85..0750f57e2f8daf7e87ec21ec2a6177b55c2053c6 100644 (file)
@@ -796,6 +796,7 @@ static int test_set0_attrs(void)
     return end_pkcs12_builder(pb);
 
 err:
+    (void)end_pkcs12_builder(pb);
     return 0;
 }