diff options
Diffstat (limited to 'source/pdf/pdf-pkcs7.c')
-rw-r--r-- | source/pdf/pdf-pkcs7.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/pdf/pdf-pkcs7.c b/source/pdf/pdf-pkcs7.c index 64938fb3..934202e1 100644 --- a/source/pdf/pdf-pkcs7.c +++ b/source/pdf/pdf-pkcs7.c @@ -357,8 +357,7 @@ struct pdf_signer_s void pdf_drop_designated_name(fz_context *ctx, pdf_designated_name *dn) { - if (dn) - fz_free(ctx, dn); + fz_free(ctx, dn); } static void add_from_bags(X509 **pX509, EVP_PKEY **pPkey, STACK_OF(PKCS12_SAFEBAG) *bags, const char *pw); |