Skip to content
  • Dmitry Kazakov's avatar
    Fix memory leaks caused by KisPaintDevice::convertTo() · 4bab45a2
    Dmitry Kazakov authored
    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.
    4bab45a2