diff options
author | Guido Günther <agx@sigxcpu.org> | 2020-02-27 13:48:38 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-02-27 14:05:01 +0100 |
commit | c9859f187f91c664da458e803d186ebef219618e (patch) | |
tree | 3d5b14f2a7396456d0c644cf5fb6549b4f9c0edf /include/backend/multi.h | |
parent | c99d156f0d626e637cefd4e2bf6f04af648fd873 (diff) |
wlr_output_power_management_v1: Init output_power->link
This makes sure the `wl_list_remove(&output_power->link)` in
`output_power_destroy()` does not crash even when the output_power never
got added to a list. This can e.g. happen in the `mgmt->output ==
output` error path of `output_power_manager_get_output_power`.
Diffstat (limited to 'include/backend/multi.h')
0 files changed, 0 insertions, 0 deletions