>There's a memory leak here.

if (inf_source = HeapAlloc( GetProcessHeap(), 0, len * sizeof(WCHAR) )) {
if (!SetupGetStringFieldW( inf_context, 1, inf_source, len, NULL )) return FALSE;
source = inf_source;
return TRUE;
} else {
SetLastError( ERROR_NOT_ENOUGH_MEMORY );
return FALSE;
}

>It's best to read Wine code when throughly, they have bugs too ;)


One constant in life is all code has bugs.