Rob Shearman : rpcrt4: Fix a memory leak from the get_filename call in the server tests.

Alexandre Julliard julliard at winehq.org
Fri Dec 21 07:28:26 CST 2007


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Thu Dec 20 18:01:21 2007 +0000

rpcrt4: Fix a memory leak from the get_filename call in the server tests.

---

 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 0869c88..9ddde43 100644
--- a/dlls/rpcrt4/tests/server.c
+++ b/dlls/rpcrt4/tests/server.c
@@ -667,6 +667,7 @@ basic_tests(void)
 
   str = get_filename();
   ok(!strcmp(str, __FILE__), "get_filename() returned %s instead of %s\n", str, __FILE__);
+  midl_user_free(str);
 }
 
 static void




More information about the wine-cvs mailing list