Skip to content
Snippets Groups Projects
Commit 2dd2e311 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix bug where scalars sometimes reported that they couldn'd unbind from a symbol

parent 186d1f30
No related branches found
No related tags found
No related merge requests found
...@@ -1260,9 +1260,6 @@ static void scalar_free(t_scalar *x) ...@@ -1260,9 +1260,6 @@ static void scalar_free(t_scalar *x)
return; return;
} }
word_free(x->sc_vec, template); word_free(x->sc_vec, template);
char buf[50];
sprintf(buf, "x%lx", (long unsigned int)x);
pd_unbind(&x->sc_gobj.g_pd, gensym(buf));
gfxstub_deleteforkey(x); gfxstub_deleteforkey(x);
/* the "size" field in the class is zero, so Pd doesn't try to free /* the "size" field in the class is zero, so Pd doesn't try to free
us automatically (see pd_free()) */ us automatically (see pd_free()) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment