more allocation fixes (use snapshotting)
[model-checker.git] / threads.cc
index d00e21228295b0f9bc7f86902a2a9bfcc2577947..bdeea6a0e0c34c573df705d3874f8c81b8e8316b 100644 (file)
@@ -9,12 +9,12 @@
 
 static void * stack_allocate(size_t size)
 {
-       return userMalloc(size);
+       return MYMALLOC(size);
 }
 
 static void stack_free(void *stack)
 {
-       userFree(stack);
+       MYFREE(stack);
 }
 
 Thread * thread_current(void)