Diffusion Krita dcb0fd179014

Fix potential crash in ShapeResizeStrategy::ShapeResizeStrategy

Authored by gladhorn on Nov 5 2016, 2:08 PM.

Description

Fix potential crash in ShapeResizeStrategy::ShapeResizeStrategy

There is a check for shape being a nullptr. Just below it is code that
accesses shape. Either the nullptr check is not needed or the code below would
dereference it. Play it safe.

Details

Committed
gladhornNov 5 2016, 2:22 PM
Parents
R37:9d4342bd3a41: Rename variable for readability: shp->shape
Branches
Unknown
Tags
Unknown