[PATCH 05/10] dmloader: Use CRT allocation functions.