rpcrt4/tests: Free memory from one of the tests.
Dan Hipschman
dsh at linux.ucla.edu
Fri Oct 12 18:24:47 CDT 2007
This patch frees data from the make_pyramid_doub_carr test. While actually
releasing the data isn't a huge deal in the tests, it does at least test
that the memory is free-able.
---
dlls/rpcrt4/tests/server.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/rpcrt4/tests/server.c b/dlls/rpcrt4/tests/server.c
index 6fe1ce5..d8ecff0 100644
--- a/dlls/rpcrt4/tests/server.c
+++ b/dlls/rpcrt4/tests/server.c
@@ -760,6 +760,7 @@ free_pyramid_doub_carr(doub_carr_t *dc)
int i;
for (i = 0; i < dc->n; ++i)
MIDL_user_free(dc->a[i]);
+ MIDL_user_free(dc);
}
static void
More information about the wine-patches
mailing list