Alexandre Julliard : netapi32/tests: Don' t try to get the size of a freed buffer.

Alexandre Julliard julliard at winehq.org
Mon Oct 19 09:56:13 CDT 2009


Module: wine
Branch: master
Commit: 5b5054c10ed05d8a352a3d09a014650f61b0793c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5b5054c10ed05d8a352a3d09a014650f61b0793c

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Oct 19 16:06:07 2009 +0200

netapi32/tests: Don't try to get the size of a freed buffer.

---

 dlls/netapi32/tests/apibuf.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/netapi32/tests/apibuf.c b/dlls/netapi32/tests/apibuf.c
index 0972e76..3400726 100644
--- a/dlls/netapi32/tests/apibuf.c
+++ b/dlls/netapi32/tests/apibuf.c
@@ -54,7 +54,6 @@ static void run_apibuf_tests(void)
 
     ok(pNetApiBufferFree(p) == NERR_Success, "Freed\n");
 
-    ok(pNetApiBufferSize(p, &dwSize) == NERR_Success, "Got size\n");
     ok(pNetApiBufferSize(NULL, &dwSize) == ERROR_INVALID_PARAMETER, "Error for NULL pointer\n");
 
     /* border reallocate cases */




More information about the wine-cvs mailing list