interactive-wayland: Valgrind-proofing
authorDaniel Stone <daniels@collabora.com>
Tue, 12 Apr 2016 12:19:25 +0000 (13:19 +0100)
committerDaniel Stone <daniels@collabora.com>
Tue, 12 Apr 2016 12:19:25 +0000 (13:19 +0100)
commit48d5b44fd0793b445e0f33fd3c993fcf13b8adf0
treead948b2f7f81568276cc6a06c3ed816dc427f515
parent7e123a10b6bd29d48d5f3c18287b3f533fcd3f80
interactive-wayland: Valgrind-proofing

More meticulously free everything we create, including hooking up the
buffer-release callback so we actually free those when required. Make
sure seats are actually in the display's seat list.

The xkbcommon object-unref functions don't actually require
NULL-checking, so we can elide those.

Signed-off-by: Daniel Stone <daniels@collabora.com>
test/interactive-wayland.c