Juan Lang : crypt32: Fix another leak in tests.
Alexandre Julliard
julliard at winehq.org
Fri Nov 9 07:44:10 CST 2007
Module: wine
Branch: master
Commit: 4c981e20ef9de97e0eddd1c48f5e134dfdf9d073
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4c981e20ef9de97e0eddd1c48f5e134dfdf9d073
Author: Juan Lang <juan.lang at gmail.com>
Date: Thu Nov 8 08:55:10 2007 -0800
crypt32: Fix another leak in tests.
---
dlls/crypt32/tests/encode.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index 1b1462d..a06531c 100644
--- a/dlls/crypt32/tests/encode.c
+++ b/dlls/crypt32/tests/encode.c
@@ -5036,6 +5036,7 @@ static void test_decodePKCSAttribute(DWORD dwEncoding)
"Unexpected size %d\n", attr->rgValue[0].cbData);
ok(!memcmp(attr->rgValue[0].pbData, ints[0].encoded,
attr->rgValue[0].cbData), "Unexpected value\n");
+ LocalFree(buf);
}
}
More information about the wine-cvs
mailing list