Fix dangling pointer access when getting dnd data in some cases
Calling wl_data_source.destroy(); wl_data_offer.receive(), where the
wl_data_offer is referring to the destroyed wl_data_source, was crashing
the compositor.
Change-Id: Iab352d63f8a93aebd0bfbcf1dc26c0e8a48a523a
Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Showing
Please register or sign in to comment