]> git.mdlowis.com Git - proto/labwc.git/commit
src/debug.c: reset last_view
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 2 Jan 2023 21:40:17 +0000 (22:40 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 2 Jan 2023 21:52:09 +0000 (21:52 +0000)
commit8bde7bcee0deac8b5d6ba51adaa4f524091bde1d
tree91edb7bcb08496e5cd5cdd721cb8c39f52bc0eb6
parentbc65357267bf447f3ac079d8f09d6a0775b9231c
src/debug.c: reset last_view

Before this patch following would cause a use-after-free:
- calling the Debug action when there was at least one view around
- closing that view
- calling the Debug action again

Also add a label for the layer popup tree.
src/debug.c