Commit c26a816f authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

setupapi: Remove debug traces from allocation routines.

parent 9970ccb9
...@@ -51,7 +51,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(setupapi); ...@@ -51,7 +51,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
*/ */
VOID WINAPI MyFree(LPVOID lpMem) VOID WINAPI MyFree(LPVOID lpMem)
{ {
TRACE("%p\n", lpMem);
HeapFree(GetProcessHeap(), 0, lpMem); HeapFree(GetProcessHeap(), 0, lpMem);
} }
...@@ -70,7 +69,6 @@ VOID WINAPI MyFree(LPVOID lpMem) ...@@ -70,7 +69,6 @@ VOID WINAPI MyFree(LPVOID lpMem)
*/ */
LPVOID WINAPI MyMalloc(DWORD dwSize) LPVOID WINAPI MyMalloc(DWORD dwSize)
{ {
TRACE("%u\n", dwSize);
return HeapAlloc(GetProcessHeap(), 0, dwSize); return HeapAlloc(GetProcessHeap(), 0, dwSize);
} }
...@@ -95,8 +93,6 @@ LPVOID WINAPI MyMalloc(DWORD dwSize) ...@@ -95,8 +93,6 @@ LPVOID WINAPI MyMalloc(DWORD dwSize)
*/ */
LPVOID WINAPI MyRealloc(LPVOID lpSrc, DWORD dwSize) LPVOID WINAPI MyRealloc(LPVOID lpSrc, DWORD dwSize)
{ {
TRACE("%p %u\n", lpSrc, dwSize);
if (lpSrc == NULL) if (lpSrc == NULL)
return HeapAlloc(GetProcessHeap(), 0, dwSize); return HeapAlloc(GetProcessHeap(), 0, dwSize);
...@@ -123,8 +119,6 @@ LPWSTR WINAPI DuplicateString(LPCWSTR lpSrc) ...@@ -123,8 +119,6 @@ LPWSTR WINAPI DuplicateString(LPCWSTR lpSrc)
{ {
LPWSTR lpDst; LPWSTR lpDst;
TRACE("%s\n", debugstr_w(lpSrc));
lpDst = MyMalloc((lstrlenW(lpSrc) + 1) * sizeof(WCHAR)); lpDst = MyMalloc((lstrlenW(lpSrc) + 1) * sizeof(WCHAR));
if (lpDst == NULL) if (lpDst == NULL)
return NULL; return NULL;
...@@ -285,8 +279,6 @@ LPWSTR WINAPI MultiByteToUnicode(LPCSTR lpMultiByteStr, UINT uCodePage) ...@@ -285,8 +279,6 @@ LPWSTR WINAPI MultiByteToUnicode(LPCSTR lpMultiByteStr, UINT uCodePage)
LPWSTR lpUnicodeStr; LPWSTR lpUnicodeStr;
int nLength; int nLength;
TRACE("%s %d\n", debugstr_a(lpMultiByteStr), uCodePage);
nLength = MultiByteToWideChar(uCodePage, 0, lpMultiByteStr, nLength = MultiByteToWideChar(uCodePage, 0, lpMultiByteStr,
-1, NULL, 0); -1, NULL, 0);
if (nLength == 0) if (nLength == 0)
...@@ -328,8 +320,6 @@ LPSTR WINAPI UnicodeToMultiByte(LPCWSTR lpUnicodeStr, UINT uCodePage) ...@@ -328,8 +320,6 @@ LPSTR WINAPI UnicodeToMultiByte(LPCWSTR lpUnicodeStr, UINT uCodePage)
LPSTR lpMultiByteStr; LPSTR lpMultiByteStr;
int nLength; int nLength;
TRACE("%s %d\n", debugstr_w(lpUnicodeStr), uCodePage);
nLength = WideCharToMultiByte(uCodePage, 0, lpUnicodeStr, -1, nLength = WideCharToMultiByte(uCodePage, 0, lpUnicodeStr, -1,
NULL, 0, NULL, NULL); NULL, 0, NULL, NULL);
if (nLength == 0) if (nLength == 0)
......
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