Got a lot of regex test cases working
This commit is contained in:
parent
f37a13ef41
commit
0600440b7c
11 changed files with 148 additions and 14 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue