crypt32: Fix a leak.
This commit is contained in:
parent
72ab894db1
commit
571d75187a
|
@ -195,6 +195,7 @@ static void test_cryptunprotectdata(void)
|
||||||
ok(data_desc!=NULL,"Description not allocated\n");
|
ok(data_desc!=NULL,"Description not allocated\n");
|
||||||
ok(data_desc[0]=='\0',"Description not empty\n");
|
ok(data_desc[0]=='\0',"Description not empty\n");
|
||||||
|
|
||||||
|
LocalFree(data_desc);
|
||||||
LocalFree(plain.pbData);
|
LocalFree(plain.pbData);
|
||||||
|
|
||||||
plain.pbData=NULL;
|
plain.pbData=NULL;
|
||||||
|
|
Loading…
Reference in New Issue