diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-04-13 17:39:41 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-04-14 14:16:04 -0300 |
commit | f0f1aa01139a073430eb2c5feb767dedc45d3b4f (patch) | |
tree | a70e809848c08ac10be5f218894aa186d3279015 /cppgenerator.h | |
parent | 22ca04e79698d7cd630134dab0e497ae4efa624e (diff) |
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 'cppgenerator.h')
0 files changed, 0 insertions, 0 deletions