free NULL cleanup
[openssl.git] / demos / cms / cms_uncomp.c
index 392f4b4502d62cb886acf601fd8db3ca7c3220ce..8d45834c34a889fc56a81dade506111b1d143916 100644 (file)
@@ -45,10 +45,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;