[PATCH] qmgr: Use CRT allocation functions.