diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-14 13:02:18 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-15 07:23:48 +1300 |
commit | db4ffd0b703b43f60b0802a21b434dd5b87f6be4 (patch) | |
tree | bf3741095b9ce4bb4860f78a6ef90b81a15d3da7 /Documentation/50-pot/subsurface-manual.pot | |
parent | 633dd64d2fa18b64fd13a593019a42316c1de775 (diff) | |
download | subsurface-db4ffd0b703b43f60b0802a21b434dd5b87f6be4.tar.gz |
Fix memory leak
The QPainter and the QPixmap were being created but never freed. A QPixmap
and a QPainter don't need to be created by new, they can be safely created
on the stack.
So, create them on the stack, pass them via const-reference
and use them correctly.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation/50-pot/subsurface-manual.pot')
0 files changed, 0 insertions, 0 deletions