From 1d2c18f405b50b28d1b71ed970877adf8c3881f0 Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Tue, 26 Mar 2013 01:45:17 -0400 Subject: [PATCH] removed unnecessary dereferencing --- pd/src/m_binbuf.c | 1 - pd/src/m_pd.c | 1 - 2 files changed, 2 deletions(-) diff --git a/pd/src/m_binbuf.c b/pd/src/m_binbuf.c index 8466e3ae2..219505e1f 100644 --- a/pd/src/m_binbuf.c +++ b/pd/src/m_binbuf.c @@ -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) diff --git a/pd/src/m_pd.c b/pd/src/m_pd.c index ec10a83ca..be5ed6ad8 100644 --- a/pd/src/m_pd.c +++ b/pd/src/m_pd.c @@ -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) -- GitLab