Skip to content
Commit 5c7d30b6 authored by Nils Chr. Brause's avatar Nils Chr. Brause Committed by Pekka Paalanen
Browse files

wayland-client: Initialize newly created wl_proxys to zero



Up until now, newly created wl_proxys (with proxy_create or
wl_proxy_create_for_id) are not initialized properly after memory
allocation. The wl_display object in contrast is. To prevent giving
uninitialized data to the user (e.g. user_data) an appropriate memset
has been added. Also, after a memset members don't have to be
explicitly initialized with zero anymore.

Signed-off-by: default avatarNils Chr. Brause <nilschrbrause@googlemail.com>
Reviewed-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent fb97550c
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