fixed leak exposed by test-ot-extents-cff
This commit is contained in:
parent
6238edbd8b
commit
e7a045e4db
|
@ -627,6 +627,9 @@ struct ArgStack : Stack<ARG, 513>
|
|||
/* an operator prefixed by its operands in a byte string */
|
||||
struct OpStr
|
||||
{
|
||||
inline void init (void) {}
|
||||
inline void fini (void) {}
|
||||
|
||||
OpCode op;
|
||||
ByteStr str;
|
||||
};
|
||||
|
|
|
@ -64,6 +64,10 @@ struct DictValues
|
|||
|
||||
inline void fini (void)
|
||||
{
|
||||
for (unsigned int i = 0; i < values.len; i++)
|
||||
{
|
||||
values[i].fini ();
|
||||
}
|
||||
values.fini ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue