[WS2_32]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 3 Mar 2017 23:47:26 +0000 (23:47 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 3 Mar 2017 23:47:26 +0000 (23:47 +0000)
commitba1cd55e86c36397c883d7966752c6621c1b7781
tree9ca4e0eabb2bbc0885c1edee1fc5bab10cf50b63
parent0386475fc9453132717cacc8234b1028e13dc628
[WS2_32]
- Check for NULL pointers after HeapAlloc calls, in the constructor functions, before initializing members of created objects;
- Add a bunch of missing HeapFree in the corresponding destructor functions.
  In particular, fix the root cause of CID 1401152 in WsTpDelete: missing HeapFree call.
CORE-12880

svn path=/trunk/; revision=74043
reactos/dll/win32/ws2_32/src/dcatitem.c
reactos/dll/win32/ws2_32/src/dprocess.c
reactos/dll/win32/ws2_32/src/dprovide.c
reactos/dll/win32/ws2_32/src/dsocket.c
reactos/dll/win32/ws2_32/src/dthread.c
reactos/dll/win32/ws2_32/src/nscatent.c
reactos/dll/win32/ws2_32/src/nsprovid.c
reactos/dll/win32/ws2_32/src/nsquery.c