Commit 9d7e045c authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

adsldp: Use standard C functions for memory allocation in adsldp.c.

parent 93dcfef0
......@@ -21,14 +21,6 @@
#include "wine/heap.h"
static inline WCHAR *strdupW(const WCHAR *src)
{
WCHAR *dst;
if (!src) return NULL;
if ((dst = heap_alloc((wcslen(src) + 1) * sizeof(WCHAR)))) wcscpy(dst, src);
return dst;
}
static inline LPWSTR strnUtoW( LPCSTR str, DWORD inlen, DWORD *outlen )
{
LPWSTR ret = NULL;
......
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