On Tue, Dec 25, 2012 at 01:01:08PM +0100, Jonas Ådahl wrote:
> Since wl_display_dispatch_queue() returns the number of processed events
> or -1 on error, only cancel the roundtrip if an -1 is returned.
>
> This also fixes a potential memory corruption bug happening when the
> roundtrip does an ear
Since wl_display_dispatch_queue() returns the number of processed events
or -1 on error, only cancel the roundtrip if an -1 is returned.
This also fixes a potential memory corruption bug happening when the
roundtrip does an early return and the callback later writes to the then
out of scope stack