summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libcrypto/cms/cms_ess.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libcrypto/cms/cms_ess.c b/lib/libcrypto/cms/cms_ess.c
index 16b7168f5fb..9420405d8f4 100644
--- a/lib/libcrypto/cms/cms_ess.c
+++ b/lib/libcrypto/cms/cms_ess.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_ess.c,v 1.20 2019/08/11 11:04:18 jsing Exp $ */
+/* $OpenBSD: cms_ess.c,v 1.21 2019/08/11 14:19:09 jsing Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -147,9 +147,8 @@ CMS_ReceiptRequest_create0(unsigned char *id, int idlen, int allorfirst,
merr:
CMSerror(ERR_R_MALLOC_FAILURE);
-
- err:
CMS_ReceiptRequest_free(rr);
+
return NULL;
}