1
0
mirror of https://github.com/mtrojnar/osslsigncode.git synced 2025-04-09 18:48:05 -05:00

Fix segmentation fault

This commit is contained in:
Jemmy Wang 2019-06-26 18:56:22 +08:00 committed by Michał Trojnara
parent c740b097df
commit 6c8ec4427a

@ -1023,7 +1023,6 @@ static SpcLink *get_page_hash_link(int phtype, char *indata,
l = i2d_ASN1_SET_ANY(aset, NULL); l = i2d_ASN1_SET_ANY(aset, NULL);
tmp = p = OPENSSL_malloc(l); tmp = p = OPENSSL_malloc(l);
l = i2d_ASN1_SET_ANY(aset, &tmp); l = i2d_ASN1_SET_ANY(aset, &tmp);
SpcAttributeTypeAndOptionalValue_free(aval);
ASN1_TYPE_free(taval); ASN1_TYPE_free(taval);
sk_ASN1_TYPE_free(aset); sk_ASN1_TYPE_free(aset);