c4cd62acee
Implement proper destructors that call the wayland destroy functions. With this and the "client: fix a strdup memory leak" patch in Wayland core, simple-shm now runs Valgrind-clean (memcheck). Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>