[PATCH] kernel32: GetPrivateProfileSectionNamesA error checking (Coverity)

Paul Vriens paul.vriens.wine at gmail.com
Wed Jan 6 06:34:17 CST 2010


On 01/06/2010 01:26 PM, Marcus Meissner wrote:
> +    if (!RtlCreateUnicodeStringFromAsciiz(&filenameW, filename)) {
> +        SetLastError(ERROR_OUTOFMEMORY);
> +        return 0;
> +    }

Aren't you leaking bufferW here?

-- 
Cheers,

Paul.



More information about the wine-devel mailing list