summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-05-24 11:41:16 -0300
committerRenato Filho <renato.filho@openbossa.org>2011-05-24 14:49:54 -0300
commit2aeac5e05b43c1c3e0ffb1ef9d4fe4a19bfc1919 (patch)
tree65d23bd70ea5917b29ca6f653feda82309856532
parent774223adbdf3a6287f99c6828ef00c033018d174 (diff)
downloadpyside-2aeac5e05b43c1c3e0ffb1ef9d4fe4a19bfc1919.tar.gz
pyside-2aeac5e05b43c1c3e0ffb1ef9d4fe4a19bfc1919.tar.xz
pyside-2aeac5e05b43c1c3e0ffb1ef9d4fe4a19bfc1919.zip
Fix memory leak on QEasingCuverFunctor.
-rw-r--r--PySide/QtCore/glue/qeasingcurve_glue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/glue/qeasingcurve_glue.cpp b/PySide/QtCore/glue/qeasingcurve_glue.cpp
index 7052204..fd2dee0 100644
--- a/PySide/QtCore/glue/qeasingcurve_glue.cpp
+++ b/PySide/QtCore/glue/qeasingcurve_glue.cpp
@@ -63,7 +63,7 @@ void deleteData(void* data)
void PySideEasingCurveFunctor::init()
{
- CustomFunctions<MAX_CUSTOM_FUNCTIONS>::init();
+ CustomFunctions<MAX_CUSTOM_FUNCTIONS-1>::init();
}
QEasingCurve::EasingFunction PySideEasingCurveFunctor::createCustomFuntion(PyObject* parent, PyObject* pyFunc)