Diffusion Krita 07f3cdc0468b

Fix crashes in krita-paintop-EmbeddedPatternManagerTest

Authored by gladhorn on Oct 30 2016, 3:20 PM.

Description

Fix crashes in krita-paintop-EmbeddedPatternManagerTest

KisSharedPtr proudly points out that it doesn't have an explicit
constructor. Maybe that's not so great though: the implicit conversion
to smart pointers means that suddenly objects on the stack get
implicitly passed to a shared pointer and are definitively double
deleted.

The test still fails, only the double delete has been fixed.

Details

Committed
gladhornOct 30 2016, 3:20 PM
Parents
R37:9fe45a19a267: Add option to enable broken tests
Branches
Unknown
Tags
Unknown