[PATCH 1/2] wmp: Use CRT allocation functions.