]> git.mdlowis.com Git - proto/labwc.git/commit
src/theme.c: fix misuse of wl_list_for_each
authortokyo4j <hrak1529@gmail.com>
Sun, 13 Oct 2024 22:55:15 +0000 (07:55 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 14 Oct 2024 19:02:26 +0000 (20:02 +0100)
commit5f3600b0b89c6200e2763c149a46baaa2bafbc4f
tree2e34a31e183f0a034d271d1b812196ff629821b8
parent1934d0bf09a49b4016ae8dc7ab5b0607264a6362
src/theme.c: fix misuse of wl_list_for_each

The iterator value of `wl_list_for_each` should never be referenced
outside the loop because it points to invalid memory location when the
list is empty.
src/theme.c