diff options
Diffstat (limited to 'src/lib/libcrypto/store/str_mem.c')
-rw-r--r-- | src/lib/libcrypto/store/str_mem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/store/str_mem.c b/src/lib/libcrypto/store/str_mem.c index 0409fd198d..d59799196a 100644 --- a/src/lib/libcrypto/store/str_mem.c +++ b/src/lib/libcrypto/store/str_mem.c | |||
@@ -224,8 +224,7 @@ static void * | |||
224 | mem_list_start(STORE *s, STORE_OBJECT_TYPES type, OPENSSL_ITEM attributes[], | 224 | mem_list_start(STORE *s, STORE_OBJECT_TYPES type, OPENSSL_ITEM attributes[], |
225 | OPENSSL_ITEM parameters[]) | 225 | OPENSSL_ITEM parameters[]) |
226 | { | 226 | { |
227 | struct mem_ctx_st *context = | 227 | struct mem_ctx_st *context = malloc(sizeof(struct mem_ctx_st)); |
228 | (struct mem_ctx_st *)malloc(sizeof(struct mem_ctx_st)); | ||
229 | void *attribute_context = NULL; | 228 | void *attribute_context = NULL; |
230 | STORE_ATTR_INFO *attrs = NULL; | 229 | STORE_ATTR_INFO *attrs = NULL; |
231 | 230 | ||