1 Jun
2020
1 Jun
'20
9:06 a.m.
Vijay Kiran Kamuju <infyquest(a)gmail.com> wrote:
+ TRACE("(%s,%s,%s,%s): stub\n", debugstr_a(pName), debugstr_a(pEnvironment), debugstr_a(pPathName), debugstr_a(pPrintProcessorName));
": stub" doesn't belong to a TRACE.
+ RtlFreeUnicodeString(&ProcessorW); + RtlFreeUnicodeString(&PathW); + RtlFreeUnicodeString(&EnvW); + RtlFreeUnicodeString(&NameW);
This could be a simple HeapFree, have a look at other places that use asciitounicode(). I have to admit, that asciitounicode() is an over- engineering, and could be replaced by simple strdupAtoW() in most (if not all) places. -- Dmitry.