diff options
Diffstat (limited to 'externals/grill/py/source')
-rw-r--r-- | externals/grill/py/source/bound.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/externals/grill/py/source/bound.cpp b/externals/grill/py/source/bound.cpp index c0e8c35a..debbf5dd 100644 --- a/externals/grill/py/source/bound.cpp +++ b/externals/grill/py/source/bound.cpp @@ -123,6 +123,9 @@ PyObject *pyext::pyext_unbind(PyObject *,PyObject *args) V pyext::ClearBinding() { + // in case the object couldn't be constructed... + if(!pyobj) return; + void *data = NULL; const t_symbol *sym = NULL; |