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