Commit 1d2c18f4 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

removed unnecessary dereferencing

parent 3fd7559f
......@@ -62,7 +62,6 @@ void binbuf_free(t_binbuf *x)
{
t_freebytes(x->b_vec, x->b_n * sizeof(*x->b_vec));
t_freebytes(x, sizeof(*x));
x = NULL;
}
t_binbuf *binbuf_duplicate(t_binbuf *y)
......
......@@ -49,7 +49,6 @@ void pd_free(t_pd *x)
binbuf_free(((t_object *)x)->ob_binbuf);
}
if (c->c_size) t_freebytes(x, c->c_size);
x = NULL;
}
void gobj_save(t_gobj *x, t_binbuf *b)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment