Skip to content
Commit 32b2baaf authored by U. Artie Eoff's avatar U. Artie Eoff Committed by Kristian Høgsberg
Browse files

add_shm_format: check wl_array_add return value before deref



In wl_display_add_shm_format(), check the return value from
wl_array_add() before dereferencing it and assigning it a value.
Return the resulting pointer back to the caller.

Signed-off-by: default avatarU. Artie Eoff <ullysses.a.eoff@intel.com>
parent 02952d04
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