[PATCH] wsdapi/tests: Fix a memory leak (Valgrind).