mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
sw_engine image: fix memory leak.
reset rle is supposed to be reused, image should keep its pointer. @Issue: https://github.com/Samsung/thorvg/issues/982
This commit is contained in:
parent
7176a5ddd4
commit
3b54e4797e
1 changed files with 0 additions and 1 deletions
|
@ -97,7 +97,6 @@ void imageDelOutline(SwImage* image, SwMpool* mpool, uint32_t tid)
|
|||
void imageReset(SwImage* image)
|
||||
{
|
||||
rleReset(image->rle);
|
||||
image->rle = nullptr;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue