diff --git a/pd/src/d_ugen.c b/pd/src/d_ugen.c index a9259afc0..f5c3c3117 100644 --- a/pd/src/d_ugen.c +++ b/pd/src/d_ugen.c @@ -433,7 +433,7 @@ void signal_makereusable(t_signal *sig) if (ugen_loud) post("free %zx: %d", sig, sig->s_isborrowed); if (sig->s_isborrowed || sig->s_isscalar) { - if (sig->s_isborrowed) + if (sig->s_isborrowed && sig->s_borrowedfrom) { /* if the signal is borrowed, decrement the borrowed-from signal's reference count, possibly marking it reusable too */