Got a lot of regex test cases working

This commit is contained in:
Dan Hirsch 2013-05-23 23:26:22 +02:00
parent f37a13ef41
commit 0600440b7c
11 changed files with 148 additions and 14 deletions

View file

@ -21,7 +21,8 @@ static void* system_realloc(HAllocator *allocator, void* ptr, size_t size) {
}
static void system_free(HAllocator *allocator, void* ptr) {
free(ptr - sizeof(size_t));
if (ptr != NULL)
free(ptr - sizeof(size_t));
}
HAllocator system_allocator = {