summaryrefslogtreecommitdiff
path: root/src/vector.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vector.c')
-rw-r--r--src/vector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vector.c b/src/vector.c
index c1bab96..4e9713f 100644
--- a/src/vector.c
+++ b/src/vector.c
@@ -43,7 +43,7 @@ void vector_init(vector_t *v, unsigned size)
{
v->count = 0;
v->size = size;
- v->data = malloc(size * sizeof(void *));
+ v->data = mem_malloc(size * sizeof(void *));
}
/*