tests: Call res_close in res_query and res_search tests
authorJakub Hrozek <jakub.hrozek@posteo.se>
Thu, 20 Aug 2015 09:49:35 +0000 (11:49 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 24 Aug 2015 13:16:51 +0000 (15:16 +0200)
commit1d5a9116ed7bf4fbe6864892d8af6fdfcb2f71ed
tree29502053906a577dda7e0a3e76ff7667561fb45c
parent671691a7b08ec60baa2dd5d339bdcb46635d61e4
tests: Call res_close in res_query and res_search tests

This fixes two memory leaks in the tests.

Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
tests/test_res_query_search.c