Skip to content
Snippets Groups Projects
Commit 689155bf authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

fixed segfault due to delayed freeing of bindlists (necessary to prevent a...

fixed segfault due to delayed freeing of bindlists (necessary to prevent a segfault for dynamically changed sends/receives)
parent 27a1c07a
No related branches found
No related tags found
Loading
...@@ -302,7 +302,7 @@ t_pd *pd_findbyclass(t_symbol *s, t_class *c) ...@@ -302,7 +302,7 @@ t_pd *pd_findbyclass(t_symbol *s, t_class *c)
t_bindelem *e, *e2; t_bindelem *e, *e2;
int warned = 0; int warned = 0;
for (e = b->b_list; e; e = e->e_next) for (e = b->b_list; e; e = e->e_next)
if (*e->e_who == c) if (e->e_who != NULL && *e->e_who == c)
{ {
if (x && !warned) if (x && !warned)
{ {
......
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