free NULL cleanup -- coda
[oweals/openssl.git] / crypto / store / str_mem.c
index 868710076126c9ea297ce57f77d1c9ce0b339ceb..f1cca6a4e0562b2f4a67f5c960577bbf3a198b1c 100644 (file)
@@ -346,7 +346,7 @@ static int mem_list_end(STORE *s, void *handle)
         STOREerr(STORE_F_MEM_LIST_END, ERR_R_PASSED_NULL_PARAMETER);
         return 0;
     }
-    if (context && context->search_attributes)
+    if (context)
         sk_STORE_ATTR_INFO_free(context->search_attributes);
     OPENSSL_free(context);
     return 1;