summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/CMakeLists.txt
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-04-13 17:39:41 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-04-14 14:16:04 -0300
commitf0f1aa01139a073430eb2c5feb767dedc45d3b4f (patch)
treea70e809848c08ac10be5f218894aa186d3279015 /tests/samplebinding/CMakeLists.txt
parent22ca04e79698d7cd630134dab0e497ae4efa624e (diff)
downloadshiboken-f0f1aa01139a073430eb2c5feb767dedc45d3b4f.tar.gz
shiboken-f0f1aa01139a073430eb2c5feb767dedc45d3b4f.tar.xz
shiboken-f0f1aa01139a073430eb2c5feb767dedc45d3b4f.zip
Fix memory leak when calling methods with some caracteristics.
To leak memory you need to call a method which the C++ version have one or more argument passed as reference, so in python you pass a implicity convertible type. E.g.: the method expects "const QString&" and you pass a Python string which will be implicitly converted to a QString, the memory used by this implicitly generated QString leaks. Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/samplebinding/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions