[PATCH 08/10] dmscript: Use CRT allocation functions.