]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
pkcs7: eliminated leak in gnutls_pkcs7_print
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 18 Dec 2015 13:24:23 +0000 (14:24 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 18 Dec 2015 13:42:57 +0000 (14:42 +0100)
lib/x509/pkcs7-output.c

index 84986800d550087846338ec49f33b494d0aed90e..32e259be4f07e028ec19fca359352612a8148086 100644 (file)
@@ -192,6 +192,7 @@ int gnutls_pkcs7_print(gnutls_pkcs7_t pkcs7,
                        break;
 
                print_pkcs7_info(&info, &str, format);
+               gnutls_pkcs7_signature_info_deinit(&info);
        }
 
        if (format == GNUTLS_CRT_PRINT_FULL) {