Review Request 110214: Fix memory leak in psd format filter

Commit Hook null at kde.org
Sat Apr 27 09:36:30 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110214/
-----------------------------------------------------------

(Updated April 27, 2013, 8:36 a.m.)


Status
------

This change has been marked as submitted.


Review request for Calligra, Dmitry Kazakov and Boudewijn Rempt.


Description
-------

readPlanarBytes returns QVector of pointers to allocated arrays and caller is responsible for clean-up of memory.
This patch fixes memory leaks in psd filter, where readPlanarBytes is used


Diffs
-----

  krita/plugins/formats/psd/psd_image_data.cpp 8eb1eea 
  krita/plugins/formats/psd/psd_layer_record.cpp 13e4008 

Diff: http://git.reviewboard.kde.org/r/110214/diff/


Testing
-------

Created new Krita document and save it as psd worked fine.


Thanks,

Lukáš Tvrdý

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20130427/05934152/attachment.htm>


More information about the calligra-devel mailing list