fix - add missing FreeDecodeCert on success.
This commit is contained in:
parent
f2c8826e16
commit
e2a6d68abf
@ -5727,6 +5727,8 @@ static int SetDatesFromCert(Cert* cert, const byte* der, int derSz)
|
||||
cert->beforeDateSz = decoded.beforeDateLen;
|
||||
cert->afterDateSz = decoded.afterDateLen;
|
||||
|
||||
FreeDecodedCert(&decoded);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user