From 2dd2e31172fa3bde3c2292e84e5b774672936b32 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Wed, 4 May 2016 17:34:18 -0400
Subject: [PATCH] fix bug where scalars sometimes reported that they couldn'd
 unbind from a symbol

---
 pd/src/g_scalar.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pd/src/g_scalar.c b/pd/src/g_scalar.c
index cb72d59aa..9963a79fe 100644
--- a/pd/src/g_scalar.c
+++ b/pd/src/g_scalar.c
@@ -1260,9 +1260,6 @@ static void scalar_free(t_scalar *x)
         return;
     }
     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);
         /* the "size" field in the class is zero, so Pd doesn't try to free
         us automatically (see pd_free()) */
-- 
GitLab