Skip to content
  • Dmitry Kazakov's avatar
    Fix a memory "leak" in LambdaCommand used in the fill tool · 4c936461
    Dmitry Kazakov authored
    Lambdas can capture shared pointers, which can potentially prevent
    temporary paint devices from being released. That is exactly what
    happened in the tagged-fill tool, the reference paint device was
    captured by the lambda and never freed (until the undo command is
    expelled from the stack).
    
    BUG:471543
    4c936461