Current code does not free allocated tablet resources. When a tablet is added some resources are allocated. Resources should be released either removing the tablet or freeing spice server object. Added a test to check these conditions.
d61fce91 inputs-channels: Remove leak using tablet device
server/inputs-channel.c | 5 ++++
server/tests/test-leaks.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 71 insertions(+)