# HG changeset patch # User Nina Engelhardt # Date 1351525981 -3600 # Node ID 7128ffdcc797253a22804be704f5545f9f62c82d # Parent abf2117d753533e6787b0487e0f10f43de27f514 have allocation in coreloop use VMS_WL__malloc diff -r abf2117d7535 -r 7128ffdcc797 ListOfArrays.h --- a/ListOfArrays.h Fri Aug 31 18:27:26 2012 +0200 +++ b/ListOfArrays.h Mon Oct 29 16:53:01 2012 +0100 @@ -37,7 +37,7 @@ #define addToListOfArrays_ext(type,value,list) do { \ int offset_in_fragment = list->next_free_index % list->num_entries_per_fragment; \ if(offset_in_fragment == 0 && (list->next_free_index / list->num_entries_per_fragment) >= list->dim1info->numInArray){ \ - void* newBlock = malloc(list->entry_size * list->num_entries_per_fragment); \ + void* newBlock = VMS_WL__malloc(list->entry_size * list->num_entries_per_fragment); \ addToDynArray(newBlock,list->dim1info); \ } \ type* typedFragment = (type*) ((list->dim1)[list->dim1info->numInArray -1]); \