aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/cms/cms_cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cms/cms_cd.c')
-rw-r--r--crypto/cms/cms_cd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/cms/cms_cd.c b/crypto/cms/cms_cd.c
index aa3238f584..8673e00646 100644
--- a/crypto/cms/cms_cd.c
+++ b/crypto/cms/cms_cd.c
@@ -105,10 +105,7 @@ CMS_ContentInfo *cms_CompressedData_create(int comp_nid)
return cms;
err:
-
- if (cms)
- CMS_ContentInfo_free(cms);
-
+ CMS_ContentInfo_free(cms);
return NULL;
}