diff options
Diffstat (limited to 'teensy/teensy_list.c')
| -rw-r--r-- | teensy/teensy_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/teensy/teensy_list.c b/teensy/teensy_list.c index c8035b8..342af61 100644 --- a/teensy/teensy_list.c +++ b/teensy/teensy_list.c @@ -5,7 +5,7 @@ void *ty_list_create(void) { - struct ty_list_header *header = ty_alloc(sizeof(struct ty_list_header)); + struct ty_list_header *header = ty_new(struct ty_list_header); header->cap = 0; header->len = 0; return (void*)(header + 1); |
