- Fix #506: Python Module Seems to Leak Memory if it Experiences an
Unhandled Exception.
W.C.A. Wijngaards
2 years ago
|
0 |
2 July 2021: Wouter
|
|
1 |
- Fix #506: Python Module Seems to Leak Memory if it Experiences an
|
|
2 |
Unhandled Exception.
|
|
3 |
|
0 | 4 |
25 June 2021: Wouter
|
1 | 5 |
- Fix up permissions on rpl data file in tests.
|
2 | 6 |
- Fix testbound newline treatment in moment_read and tempfile write.
|
244 | 244 |
/* clear the exception, by not restoring it */
|
245 | 245 |
/* Restore the exception state */
|
246 | 246 |
/* PyErr_Restore(exc_typ, exc_val, exc_tb); */
|
|
247 |
/* when using PyErr_Restore there is no need to Py_XDECREF for
|
|
248 |
* these 3 pointers. */
|
|
249 |
Py_XDECREF(exc_typ);
|
|
250 |
Py_XDECREF(exc_val);
|
|
251 |
Py_XDECREF(exc_tb);
|
247 | 252 |
}
|
248 | 253 |
|
249 | 254 |
int pythonmod_init(struct module_env* env, int id)
|