artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e84a01f
)
Remove NULL check before free
author
inoguchi
<inoguchi@openbsd.org>
Thu, 6 Jan 2022 11:37:29 +0000
(11:37 +0000)
committer
inoguchi
<inoguchi@openbsd.org>
Thu, 6 Jan 2022 11:37:29 +0000
(11:37 +0000)
usr.bin/openssl/cms.c
patch
|
blob
|
history
diff --git
a/usr.bin/openssl/cms.c
b/usr.bin/openssl/cms.c
index
d453bcd
..
67ce15a
100644
(file)
--- a/
usr.bin/openssl/cms.c
+++ b/
usr.bin/openssl/cms.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: cms.c,v 1.2
4 2022/01/05 13:41:12
inoguchi Exp $ */
+/* $OpenBSD: cms.c,v 1.2
5 2022/01/06 11:37:29
inoguchi Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
@@
-1882,8
+1882,7
@@
receipt_request_print(BIO *out, CMS_ContentInfo *cms)
BIO_puts(out, " Receipts To:\n");
gnames_stack_print(out, rto);
}
- if (rr != NULL)
- CMS_ReceiptRequest_free(rr);
+ CMS_ReceiptRequest_free(rr);
}
}