From dd500deadc8cc4577a305a9f1fe438786671f9e6 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Fri, 12 Dec 2003 03:41:32 +0000 Subject: "" svn path=/trunk/; revision=1217 --- externals/grill/py/source/bound.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'externals/grill/py/source/bound.cpp') 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; -- cgit v1.2.1