commit | f39dafb10a9c8b5d53c79f60ccf1bec77cc376a3 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Jun 02 14:11:45 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Jun 02 14:11:45 2003 +0000 |
tree | 0481d3b23a2099d2182f91e4f0560a45caaf9021 | |
parent | 01e32731649738b560f38cc7a17f4a20e64ea0b0 [diff] |
Fix a subtle decref bug that caused a GC assertion to fail in a debug build (assert(gc->gc.gc_refs != 0) in visit_decref()). Because OSSAudioError is a global, we must compensate (twice!) for PyModule_AddObject()'s "helpful" decref of the object it adds.