Skip to content
  • Jehan's avatar
    Bug 793373 - Crash when ctrl-alt-clicking, dragging then releasing... · d9987ea7
    Jehan authored
    ... a selection.
    The regression appeared with commit 10c125c6.
    gimp_layer_end_move() may sometimes run even while a symmetric
    gimp_layer_start_move() had not run. For instance this happens when
    releasing the mouse button after dragging a ctrl-alt-click created
    floating layer.
    Therefore let's check that layer->move_stack is not NULL before
    dereferencing it.
    d9987ea7