On Mon, Nov 26, 2012 at 11:25:53PM +0100, Jonas Ådahl wrote:
> Since wl_display_dispatch() 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
> wl_display_roundtrip() does an
Since wl_display_dispatch() 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
wl_display_roundtrip() does an early return and the callback later
writes to the then out of scope sta