Allocate data returned by pkcs7_t.get_attribute()

This commit is contained in:
Martin Willi
2012-12-19 10:32:08 +01:00
parent c61723c69f
commit 063ae4e52a
4 changed files with 9 additions and 2 deletions
+1
View File
@@ -114,6 +114,7 @@ static int verify(chunk_t chunk)
{
fprintf(stderr, " at %T", &t, FALSE);
}
free(data.ptr);
}
fprintf(stderr, "\n");
}