mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
renderer: fixed a memory leak
This issue only valid on the main branch.
regression by 1806b32971
issue: https://github.com/thorvg/thorvg/issues/3070
This commit is contained in:
parent
37c7e1efa6
commit
041ab1117b
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ namespace tvg
|
|||
|
||||
if (free && refCnt == 0) {
|
||||
//TODO: use the global dismiss function?
|
||||
delete(this);
|
||||
delete(paint);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue