summaryrefslogtreecommitdiff
path: root/allocator.c
diff options
context:
space:
mode:
Diffstat (limited to 'allocator.c')
-rw-r--r--allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocator.c b/allocator.c
index 2fc607d..adf67c5 100644
--- a/allocator.c
+++ b/allocator.c
@@ -85,7 +85,7 @@ static void *allocr_realloc(Allocator *a, void *data, size_t old_size, size_t ne
return NULL;
}
if (a == NULL) return err_realloc(data, new_size);
- void *ret = allocr_malloc(a, new_size);
+ void *ret = allocr_malloc(a, new_size);
memcpy(ret, data, old_size);
return ret;
}