mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
lottie/expressions: --memory leak
This commit is contained in:
parent
5ce6fca802
commit
e692a59ff9
1 changed files with 1 additions and 0 deletions
|
@ -1266,6 +1266,7 @@ static void _buildMath(jerry_value_t context)
|
|||
|
||||
void LottieExpressions::buildGlobal(float frameNo, LottieExpression* exp)
|
||||
{
|
||||
tvg::free(static_cast<ExpContent*>(jerry_object_get_native_ptr(comp, &freeCb)));
|
||||
jerry_object_set_native_ptr(comp, &freeCb, _expcontent(exp, frameNo, exp->layer));
|
||||
|
||||
auto index = jerry_number(exp->layer->ix);
|
||||
|
|
Loading…
Add table
Reference in a new issue