diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-05-24 11:41:16 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:25 -0300 |
commit | 0c8a5401d92416a8a526b26e5e429df0abc1f5fe (patch) | |
tree | 448ce5add07ed9de46821925f8c6c3761dcb698d /PySide | |
parent | ed7b92d5d718ee1aa0ff7d65fd4944e67e32da29 (diff) |
Fix memory leak on QEasingCuverFunctor.
Diffstat (limited to 'PySide')
-rw-r--r-- | PySide/QtCore/glue/qeasingcurve_glue.cpp | 2 |
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) |