fix - add missing FreeDecodeCert on success.

This commit is contained in:
Moisés Guimarães 2014-06-24 20:03:52 -03:00
parent f2c8826e16
commit e2a6d68abf

View File

@ -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;
}