Continue standardising malloc style for libcrypto
[openssl.git] / crypto / store / str_meth.c
index c030198841ccfd765a3fc99c9520fbf98b446fe0..f9ce8bb4e740d5e6936d3424093d158405c923d5 100644 (file)
@@ -65,7 +65,7 @@ STORE_METHOD *STORE_create_method(char *name)
 {
     STORE_METHOD *store_method = OPENSSL_zalloc(sizeof(*store_method));
 
-    if (store_method)
+    if (store_method != NULL)
         store_method->name = BUF_strdup(name);
     return store_method;
 }