mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-02 21:18:09 +02:00
frontend: fix leak in wet_output_set_eotf_mode()
Found when developing tests. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
f408a245d0
commit
627dcde086
1 changed files with 1 additions and 0 deletions
|
|
@ -1444,6 +1444,7 @@ wet_output_set_eotf_mode(struct weston_output *output,
|
|||
for (i = 0; i < ARRAY_LENGTH(modes); i++)
|
||||
weston_log_continue(" %s", modes[i].name);
|
||||
weston_log_continue("\n");
|
||||
free(str);
|
||||
return -1;
|
||||
}
|
||||
eotf_mode = modes[i].eotf_mode;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue