inputs-channels: Remove leak using tablet device

Enterprise / Virtualization / SPICE - Frediano Ziglio [redhat.com] - 22 November 2017 16:44 EST

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(+)

Upstream: cgit.freedesktop.org


  • Share