strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allocate data returned by pkcs7_t.get_attribute()
[strongswan.git]
/
src
/
pki
/
commands
/
pkcs7.c
diff --git
a/src/pki/commands/pkcs7.c
b/src/pki/commands/pkcs7.c
index
d5bee75
..
3d53ace
100644
(file)
--- a/
src/pki/commands/pkcs7.c
+++ b/
src/pki/commands/pkcs7.c
@@
-114,6
+114,7
@@
static int verify(chunk_t chunk)
{
fprintf(stderr, " at %T", &t, FALSE);
}
+ free(data.ptr);
}
fprintf(stderr, "\n");
}