[PATCH] taskschd/tests: Fix some memory leaks (Valgrind).