diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-05-05 02:42:43 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-05-05 02:42:43 +0000 |
commit | 1f6c586abd0b9af7f6a8ace1b75056b89bde84f0 (patch) | |
tree | 798407c0926727b77133d37b1ceb70b021d9ec8d /externals/grill/flext/source/fldsp.cpp | |
parent | 31701ad8cc9f95347f0c9f18875c9bf7418b8208 (diff) |
""
svn path=/trunk/; revision=608
Diffstat (limited to 'externals/grill/flext/source/fldsp.cpp')
-rw-r--r-- | externals/grill/flext/source/fldsp.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/externals/grill/flext/source/fldsp.cpp b/externals/grill/flext/source/fldsp.cpp index 9ee2f00c..2c33387f 100644 --- a/externals/grill/flext/source/fldsp.cpp +++ b/externals/grill/flext/source/fldsp.cpp @@ -91,6 +91,13 @@ void flext_dsp::dspmeth(fts_word_t *w) t_int *flext_dsp::dspmeth(t_int *w) { flext_dsp *obj = (flext_dsp *)w[1]; +#ifdef FLEXT_DEBUG + if(!obj->thisHdr()) { + // object is already deleted! + ERRINTERNAL(); + return w+3; + } +#endif #if FLEXT_SYS == FLEXT_SYS_MAX if(!obj->thisHdr()->z_disabled) #else |