Skip to content
Commit c26335bf authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Marius Vlad
Browse files

libweston: use xstrdup for head strings



We never expected these strdups to fail, and things tend to assume these
fields are not NULL (except serial_number).

Use xstrdup to ensure that a catastrophic OOM is immediately obvious.

Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent 3728d7e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment