Commit 07b6939b authored by Juergen Schmied's avatar Juergen Schmied Committed by Alexandre Julliard

VerQueryValue, bugfix: we cant convert binary data with

HEAP_strdupWtoA (\VarFileInfo\Translation).
parent 54b33cfb
......@@ -1383,10 +1383,11 @@ DWORD WINAPI VerQueryValue32A(LPVOID vblock,LPCSTR subblock,
xs = HEAP_strdupWtoA(GetProcessHeap(),0,(WCHAR*)b);
TRACE(ver,"->%s\n",xs);
HeapFree(GetProcessHeap(),0,xs);
} else
TRACE(ver,"->%p\n",b);
/* This is a leak. */
b = HEAP_strdupWtoA(GetProcessHeap(),0,(WCHAR*)b);
} else
TRACE(ver,"->%p\n",b);
} else {
struct dbA *db;
b=_find_dataA(block,s,*(WORD*)block);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment