X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdll%2Fappcompat%2Fapphelp%2Fsdbfileattr.c;h=3ac676075784ba65c208dbd672080e6ea398bfcd;hp=2032e11df73b558f5125a6197b886193f5ef9e8c;hb=7315f47790653a616e347200a0425bd96760ef1c;hpb=3b42dceffb87a521a63e6a84c269b6f6329e279f diff --git a/reactos/dll/appcompat/apphelp/sdbfileattr.c b/reactos/dll/appcompat/apphelp/sdbfileattr.c index 2032e11df73..3ac67607578 100644 --- a/reactos/dll/appcompat/apphelp/sdbfileattr.c +++ b/reactos/dll/appcompat/apphelp/sdbfileattr.c @@ -1,7 +1,7 @@ /* * Copyright 2011 André Hentschel * Copyright 2013 Mislav Blaževic - * Copyright 2015 Mark Jansen + * Copyright 2015-2017 Mark Jansen (mark.jansen@reactos.org) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -97,7 +97,7 @@ static void WINAPI SdbpSetStringAttrFromAnsiString(PATTRINFO attr, TAG tag, PBYT attr->type = tag; attr->flags = ATTRIBUTE_AVAILABLE; - dest = attr->lpattr = SdbpAlloc((len+1) * sizeof(WCHAR)); + dest = attr->lpattr = SdbAlloc((len+1) * sizeof(WCHAR)); while (len--) *(dest++) = *(string++); *dest = 0;