mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
setupapi: Remove debug traces from allocation routines.
This commit is contained in:
parent
9970ccb9a5
commit
c26a816f19
@ -51,7 +51,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
|
||||
*/
|
||||
VOID WINAPI MyFree(LPVOID lpMem)
|
||||
{
|
||||
TRACE("%p\n", lpMem);
|
||||
HeapFree(GetProcessHeap(), 0, lpMem);
|
||||
}
|
||||
|
||||
@ -70,7 +69,6 @@ VOID WINAPI MyFree(LPVOID lpMem)
|
||||
*/
|
||||
LPVOID WINAPI MyMalloc(DWORD dwSize)
|
||||
{
|
||||
TRACE("%u\n", dwSize);
|
||||
return HeapAlloc(GetProcessHeap(), 0, dwSize);
|
||||
}
|
||||
|
||||
@ -95,8 +93,6 @@ LPVOID WINAPI MyMalloc(DWORD dwSize)
|
||||
*/
|
||||
LPVOID WINAPI MyRealloc(LPVOID lpSrc, DWORD dwSize)
|
||||
{
|
||||
TRACE("%p %u\n", lpSrc, dwSize);
|
||||
|
||||
if (lpSrc == NULL)
|
||||
return HeapAlloc(GetProcessHeap(), 0, dwSize);
|
||||
|
||||
@ -123,8 +119,6 @@ LPWSTR WINAPI DuplicateString(LPCWSTR lpSrc)
|
||||
{
|
||||
LPWSTR lpDst;
|
||||
|
||||
TRACE("%s\n", debugstr_w(lpSrc));
|
||||
|
||||
lpDst = MyMalloc((lstrlenW(lpSrc) + 1) * sizeof(WCHAR));
|
||||
if (lpDst == NULL)
|
||||
return NULL;
|
||||
@ -285,8 +279,6 @@ LPWSTR WINAPI MultiByteToUnicode(LPCSTR lpMultiByteStr, UINT uCodePage)
|
||||
LPWSTR lpUnicodeStr;
|
||||
int nLength;
|
||||
|
||||
TRACE("%s %d\n", debugstr_a(lpMultiByteStr), uCodePage);
|
||||
|
||||
nLength = MultiByteToWideChar(uCodePage, 0, lpMultiByteStr,
|
||||
-1, NULL, 0);
|
||||
if (nLength == 0)
|
||||
@ -328,8 +320,6 @@ LPSTR WINAPI UnicodeToMultiByte(LPCWSTR lpUnicodeStr, UINT uCodePage)
|
||||
LPSTR lpMultiByteStr;
|
||||
int nLength;
|
||||
|
||||
TRACE("%s %d\n", debugstr_w(lpUnicodeStr), uCodePage);
|
||||
|
||||
nLength = WideCharToMultiByte(uCodePage, 0, lpUnicodeStr, -1,
|
||||
NULL, 0, NULL, NULL);
|
||||
if (nLength == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user