diff options
-rw-r--r-- | src/z_sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/z_sort.c b/src/z_sort.c index e0c656a..633d128 100644 --- a/src/z_sort.c +++ b/src/z_sort.c @@ -84,7 +84,7 @@ static void sort_list(t_sort *x, t_symbol *s, int argc, t_atom *argv) outlet_list(x->x_obj.ob_outlet, &s_list, n, atombuf); - freebytes(atombuf, sizeof(atombuf)); + freebytes(atombuf, argc*sizeof(t_atom)); } static void *sort_new(t_floatarg f) |