diff --git a/pd/src/m_binbuf.c b/pd/src/m_binbuf.c
index 8466e3ae2e74095187af438abd741e01bbbe000e..219505e1ff509e27971d0a1d681552d4288696a0 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 ec10a83cafb024dc802ff8134ba65abb57e05520..be5ed6ad8d512bdbc3d8bc38ca236397090c4940 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)