diff options
Diffstat (limited to 'python/progress.h')
-rw-r--r-- | python/progress.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/progress.h b/python/progress.h index af8e3acc..b46ac982 100644 --- a/python/progress.h +++ b/python/progress.h @@ -46,7 +46,7 @@ class PyCallbackObj { bool RunSimpleCallback(const char *method, PyObject *arglist=NULL, PyObject **result=NULL); - PyCallbackObj() : callbackInst(0) {}; + PyCallbackObj() : callbackInst(0), _save(0) {}; ~PyCallbackObj() {Py_DECREF(callbackInst); }; }; |