[server] Don't call wl_data_source_send_send if DataSource is unbound

Authored by graesslin on Oct 12 2016, 6:08 AM.

Description

[server] Don't call wl_data_source_send_send if DataSource is unbound

This could result in a crash as the added test case shows.

Reviewed-By: bshah

Details

Committed
graesslinOct 12 2016, 6:08 AM
Parents
R127:9823c95286ea: Fix heap-use-after-free in TestWaylandSeat::testDisconnect
Branches
Unknown
Tags
Unknown