Juan Lang : crypt32: Set last error on alloc failure.