]> git.mdlowis.com Git - proto/labwc.git/commit
src/menu: prevent delayed pipe menu response on item destroy (#2094)
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 20 Aug 2024 16:09:17 +0000 (18:09 +0200)
committerGitHub <noreply@github.com>
Tue, 20 Aug 2024 16:09:17 +0000 (17:09 +0100)
commit5ae9eed1ac1efd3cd5e53928971a27a1ed0d306c
tree102af00902dda2f467f5b712fa4ae625f2af7e38
parentc4b8b5319833d22f4ce064465270b59e5eadf02d
src/menu: prevent delayed pipe menu response on item destroy (#2094)

Without this patch we would happily access `pipe_ctx->item`
members even if the item had been destroyed in the meantime.
include/menu/menu.h
src/menu/menu.c