Module: wine Branch: master Commit: 571d75187a0e1c6b008a7e0186a1cf99e2dc2f9f URL: http://source.winehq.org/git/wine.git/?a=commit;h=571d75187a0e1c6b008a7e0186...
Author: Juan Lang juan.lang@gmail.com Date: Wed Nov 7 09:24:55 2007 -0800
crypt32: Fix a leak.
---
dlls/crypt32/tests/protectdata.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/tests/protectdata.c b/dlls/crypt32/tests/protectdata.c index 8ea0158..64ffa68 100644 --- a/dlls/crypt32/tests/protectdata.c +++ b/dlls/crypt32/tests/protectdata.c @@ -195,6 +195,7 @@ static void test_cryptunprotectdata(void) ok(data_desc!=NULL,"Description not allocated\n"); ok(data_desc[0]=='\0',"Description not empty\n");
+ LocalFree(data_desc); LocalFree(plain.pbData);
plain.pbData=NULL;