Skip to content

Commit

Permalink
Fixed crash in zl.c
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen authored Feb 4, 2024
1 parent eecd71b commit 295ea70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyclone_objects/binaries/control/zl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ CYCLONE_OBJ_API void zl_setup(void){
{ \
int ac = argc + 1; \
t_atom* av = malloc(ac * sizeof(t_atom)); \
memcpy(av + sizeof(t_atom), argv, argc * sizeof(t_atom)); \
memcpy(av + 1, argv, argc * sizeof(t_atom)); \
SETSYMBOL(av, gensym(#MODE)); \
return zl_new(s, ac, av); \
} \
Expand Down

0 comments on commit 295ea70

Please sign in to comment.