use malloc for BLI array reallocation. Existing code initializes memory.

This commit is contained in:
Campbell Barton
2013-01-19 07:41:15 +00:00
parent 23af6743c7
commit 3997630157

View File

@@ -76,7 +76,7 @@ void _bli_array_grow_func(void **arr_p, const void *arr_static,
void *arr = *arr_p;
void *arr_tmp;
arr_tmp = MEM_callocN(sizeof_arr_p *
arr_tmp = MEM_mallocN(sizeof_arr_p *
((num < arr_count) ?
(arr_count * 2 + 2) : (arr_count + num)), alloc_str);