Author: cwittich
Date: Tue Dec 22 12:51:26 2009
New Revision: 44710
URL:
http://svn.reactos.org/svn/reactos?rev=44710&view=rev
Log:
sync netapi32_winetest with wine 1.1.35
Modified:
trunk/rostests/winetests/netapi32/apibuf.c
Modified: trunk/rostests/winetests/netapi32/apibuf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/netapi32/apibuf…
==============================================================================
--- trunk/rostests/winetests/netapi32/apibuf.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/netapi32/apibuf.c [iso-8859-1] Tue Dec 22 12:51:26 2009
@@ -59,6 +59,8 @@
/* border reallocate cases */
ok(pNetApiBufferReallocate(0, 1500, &p) == NERR_Success, "Reallocate with
OldBuffer = NULL failed\n");
ok(p != NULL, "No memory got allocated\n");
+ ok(pNetApiBufferFree(p) == NERR_Success, "NetApiBufferFree failed\n");
+
ok(pNetApiBufferAllocate(1024, &p) == NERR_Success, "Memory not
reserved\n");
ok(pNetApiBufferReallocate(p, 0, &p) == NERR_Success, "Not freed\n");
ok(p == NULL, "Pointer not cleared\n");