From dbcf60b2c314521ab809d50d228c0c98ce8f6915 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 5 Aug 2013 22:37:39 +0200 Subject: coverity fixes --- python/progress.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/progress.h') 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); }; }; -- cgit v1.2.3