svchost: Added base implementation of svchost (1/27)

Juan Lang juan.lang at
Mon Nov 19 13:04:54 CST 2007

Hi Roy,

> The docs for HeapFree state "If this pointer is NULL, the behavior is
> undefined."  So in practice the undefined behavior is benign?

Yes.  There are tests for that, and in fact there's a janitorial
project about removing redundant NULL pointer checks before HeapFree.
Michael Stefaniuc wrote about it here:
You'll still see occasional commits along those lines, often from
Michael, tagged with "found by Smatch."  E.g.:


More information about the wine-devel mailing list