aboutsummaryrefslogtreecommitdiff
path: root/src/packel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/packel.c')
-rw-r--r--src/packel.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/packel.c b/src/packel.c
index f56f2c8..880d7c9 100644
--- a/src/packel.c
+++ b/src/packel.c
@@ -24,10 +24,6 @@
*/
#include "zexy.h"
-#include <string.h>
-// do we need memory.h ?
-#include <memory.h>
-
static t_class *packel_class;
@@ -107,8 +103,8 @@ static void packel_free(t_packel *x)
}
if(x->position)freebytes(x->position, x->count*sizeof(t_float));
- if(x->x_inlet) freebytes(x->x_inlet, x->count*sizeof(t_inlet*));
- if(x->x_outlet) freebytes(x->x_outlet, x->count*sizeof(t_outlet*));
+ if(x->x_inlet) freebytes(x->x_inlet, x->count*sizeof(t_inlet*));
+ if(x->x_outlet)freebytes(x->x_outlet, x->count*sizeof(t_outlet*));
}