aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-05-24 11:41:16 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:25 -0300
commit0c8a5401d92416a8a526b26e5e429df0abc1f5fe (patch)
tree448ce5add07ed9de46821925f8c6c3761dcb698d
parented7b92d5d718ee1aa0ff7d65fd4944e67e32da29 (diff)
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 705220481..fd2dee092 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)