scanner: get rid of leaks

Graphics / Wayland / Wayland - Marek Chalupa [gmail.com] - 30 July 2015 20:23 UTC

Free all the memory we have allocated during running.

v2.: split creating objects and getting rid of leaks into two patches

move check for NULL description into free_description

v3.: rebase after previous patch fixes

289a757 scanner: get rid of leaks
src/scanner.c | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 102 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share