mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
fixed memory leaks
This commit is contained in:
@@ -70,6 +70,7 @@ void test0() {
|
||||
if(strncmp(got, "HALLO", 5) != 0) {
|
||||
throw pcp::exception(CA);
|
||||
}
|
||||
free(got);
|
||||
}
|
||||
else
|
||||
throw pcp::exception(CA, "failed to decrypt");
|
||||
|
||||
Reference in New Issue
Block a user