diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-07-22 18:01:54 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:07 -0300 |
commit | 28da24d29cfc5137a4cf1940c9fa45d519334e17 (patch) | |
tree | 07698e6e855b7c2c9329909063cca50e9bc8f004 /typesystem.cpp | |
parent | 6cb4e7de26ca84cac29775d9a7360c4a20b5cfbf (diff) |
Fixed memory leak.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'typesystem.cpp')
-rw-r--r-- | typesystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/typesystem.cpp b/typesystem.cpp index 82c903eb2..31c4f547e 100644 --- a/typesystem.cpp +++ b/typesystem.cpp @@ -1735,8 +1735,8 @@ QString TemplateInstance::expandCode() const QString CodeSnipAbstract::code() const { QString res; - foreach (CodeSnipFragment *codeFrag, codeList) - res.append(codeFrag->code()); + foreach (CodeSnipFragment codeFrag, codeList) + res.append(codeFrag.code()); return res; } |