ctdb-tests: Fix some harmless CIDs
CID
1420632: Resource leaks (RESOURCE LEAK)
CID
1420631: Security best practices violations (TOCTOU)
CID
1417432: Resource leaks (RESOURCE LEAK)
CID
1417429: Security best practices violations (TOCTOU)
CID
1417427: Resource leaks (RESOURCE LEAK)
These are all in test code and constrained to the test environment, so
can't result in privilege escape. No backport necessary. However, we
might as well get them off the list.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Wed Nov 8 11:28:40 CET 2017 on sn-devel-144