summaryrefslogtreecommitdiffstats
path: root/demos/cms/cms_comp.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/cms/cms_comp.c')
-rw-r--r--demos/cms/cms_comp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/demos/cms/cms_comp.c b/demos/cms/cms_comp.c
index 059152fe0e..e117d37b5e 100644
--- a/demos/cms/cms_comp.c
+++ b/demos/cms/cms_comp.c
@@ -50,10 +50,8 @@ int main(int argc, char **argv)
if (cms)
CMS_ContentInfo_free(cms);
- if (in)
- BIO_free(in);
- if (out)
- BIO_free(out);
+ BIO_free(in);
+ BIO_free(out);
return ret;