msg: Use correct free function.