diff --git a/pd/src/m_pd.c b/pd/src/m_pd.c index b24225b61a77518e02421de8c9abfc10fd9d2032..ec10a83cafb024dc802ff8134ba65abb57e05520 100644 --- a/pd/src/m_pd.c +++ b/pd/src/m_pd.c @@ -302,7 +302,7 @@ t_pd *pd_findbyclass(t_symbol *s, t_class *c) t_bindelem *e, *e2; int warned = 0; 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) {