Skip to content
  • Ell's avatar
    app: in bucket-fill tool, fix potential leak when computing line-art · 2e45c4c8
    Ell authored
    In the line-art async function, pass ownership over the resulting
    buffer to the async object, so that the buffer is properly freed in
    case the async in canceled after line-art computation is complete,
    but before the completion callback is called.
    
    Also, clear the tool's async pointer in the completion callback, to
    avoid leaking the last issued async.
    2e45c4c8