Diffusion Krita 12d6e3e8da67

Fix memory leaks in case of failed tests

Authored by tymond on May 20 2019, 7:17 PM.

Description

Fix memory leaks in case of failed tests

Before this commit if the tests failed, there were memory leaks
and tests created writeonly files (which you can't add to git,
for example). This commit makes sure that tests will overwrite
permissions to make the files read-write and close the image
no matter if the tests are passing or not.

Details

Committed
tymondMay 20 2019, 7:17 PM
Parents
R37:215cbb2ec1bf: Add brush import/export test, add test files
Branches
Unknown
Tags
Unknown