]> git.mdlowis.com Git - proto/labwc.git/commit
osd: add null-check for output->osd_scene.tree
authortokyo4j <hrak1529@gmail.com>
Sat, 9 Aug 2025 10:53:10 +0000 (19:53 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 9 Aug 2025 11:03:41 +0000 (12:03 +0100)
commit073fd02300195b889c1d7b0513cedc5f5dc779a0
treec6466dcf9621c722722cae126698a401e25c3011
parent7c3a587015c98deb5ec1d750b4467997d68d5d27
osd: add null-check for output->osd_scene.tree

`wlr_scene_node_destroy(&output->osd_scene.tree->node);` does nothing
for null pointer, but ASAN is unhappy about accessing (NULL)->node.
src/osd.c