Kai Blin : netapi32: Remove double free test from apibuf tests.

Alexandre Julliard julliard at winehq.org
Fri Jun 27 07:42:03 CDT 2008


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

Author: Kai Blin <kai.blin at gmail.com>
Date:   Fri Jun 27 11:45:10 2008 +0200

netapi32: Remove double free test from apibuf tests.

---

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

diff --git a/dlls/netapi32/tests/apibuf.c b/dlls/netapi32/tests/apibuf.c
index 920be6a..5589c18 100644
--- a/dlls/netapi32/tests/apibuf.c
+++ b/dlls/netapi32/tests/apibuf.c
@@ -54,9 +54,6 @@ static void run_apibuf_tests(void)
 
     ok(pNetApiBufferFree(p) == NERR_Success, "Freed\n");
 
-    /* test errors handling */
-    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");
 




More information about the wine-cvs mailing list