diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-06-22 11:49:36 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:30 -0300 |
commit | 1783db758c1c8ed89b380133964e06526ae90e4d (patch) | |
tree | c6d1502c818cdafb01861848cf1e7e3ae934d565 /libpyside/globalreceiver.cpp | |
parent | c0a4142c42591b6299d7bafecc7628ffcc33f842 (diff) |
Remove reference leak on global receiver.
Diffstat (limited to 'libpyside/globalreceiver.cpp')
-rw-r--r-- | libpyside/globalreceiver.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libpyside/globalreceiver.cpp b/libpyside/globalreceiver.cpp index 1fb30d05e..4d7bcf116 100644 --- a/libpyside/globalreceiver.cpp +++ b/libpyside/globalreceiver.cpp @@ -234,7 +234,6 @@ int GlobalReceiver::qt_metacall(QMetaObject::Call call, int id, void** args) Shiboken::AutoDecRef preparedArgs(PyTuple_New(paramTypes.count())); for (int i = 0, max = paramTypes.count(); i < max; ++i) { PyObject* arg = Shiboken::TypeResolver::get(paramTypes[i].constData())->toPython(args[i+1]); // Do not increment the reference - Py_INCREF(arg); PyTuple_SET_ITEM(preparedArgs.object(), i, arg); } |