Diffusion Krita 4bab45a28bac

Fix memory leaks caused by KisPaintDevice::convertTo()

Authored by dkazakov on Apr 9 2019, 10:55 AM.

Description

Fix memory leaks caused by KisPaintDevice::convertTo()

For years this method returned KUndoCommand and for years we
forgot to delete this command, causing memory leaks.

This patch refactors convertTo() call to not return anythingon heap,
but just accepting optional parent command.

Details

Committed
dkazakovApr 9 2019, 11:22 AM
Parents
R37:214d419c911b: Fix wrong position of the merged layer
Branches
Unknown
Tags
Unknown