[PATCH wayland 3/3] shm: wl_shm_buffer_get_data() requires a valid pool.
Giulio Camuffo
giuliocamuffo at gmail.com
Sun Oct 4 06:15:13 PDT 2015
2015-07-16 21:57 GMT+03:00 Derek Foreman <derekf at osg.samsung.com>:
<snip>
>
> I'm wondering if buffer->pool can ever actually be NULL anyway... I
> have a suspicion that it can't, making the assert and the test a little
> silly.
It seems to me it can only be NULL if the buffer is created with
wl_shm_buffer_create() which is broken anyway. So i think it makes
sense to remove the test.
--
Giulio
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list