fix - add missing FreeDecodeCert on success.
This commit is contained in:
parent
f2c8826e16
commit
e2a6d68abf
@ -5726,7 +5726,9 @@ 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