summaryrefslogtreecommitdiff
path: root/python/progress.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-08-05 22:37:39 +0200
committerMichael Vogt <mvo@debian.org>2013-08-05 22:37:39 +0200
commitdbcf60b2c314521ab809d50d228c0c98ce8f6915 (patch)
tree83ac6e7d6fd65c8986a5c667e55151daadf0bd9e /python/progress.h
parente993aa1d28923deede2387d58d5fa123ad79d6c4 (diff)
downloadpython-apt-dbcf60b2c314521ab809d50d228c0c98ce8f6915.tar.gz
coverity fixes
Diffstat (limited to 'python/progress.h')
-rw-r--r--python/progress.h2
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); };
};