[PATCH] svchost: Implementation of svchost (revised submission 2)

Alexandre Julliard julliard at winehq.org
Wed Nov 28 06:47:59 CST 2007


Roy Shea <roy at cs.hmc.edu> writes:

> This is another revised and standalone version of the svchost patch.
> Changes in this revision include:
>
> - Only using HEAP_ZERO_MEMORY in calls to HeapReAlloc.  Calls to
>   HeapAlloc explicitly set the NULL terminator when required.

The realloc is overkill too, you can just allocate one extra char from
the start, and set it to zero unconditionally.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list