0000863: segfault in ~PythonDebuggerP()

This commit is contained in:
wmayer 2012-11-03 15:36:58 +01:00
parent 623b343b57
commit 1e38a6d606

View File

@ -360,6 +360,7 @@ struct PythonDebuggerP {
} }
~PythonDebuggerP() ~PythonDebuggerP()
{ {
Base::PyGILStateLocker lock;
Py_DECREF(out_n); Py_DECREF(out_n);
Py_DECREF(err_n); Py_DECREF(err_n);
Py_DECREF(exc_n); Py_DECREF(exc_n);