projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a29efa1
)
sw_engine image: fix memory leak.
author
Hermet Park
<chuneon.park@samsung.com>
Tue, 2 Nov 2021 09:42:16 +0000
(18:42 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Thu, 4 Nov 2021 00:38:12 +0000
(09:38 +0900)
reset rle is supposed to be reused, image should keep its pointer.
@Issue: https://github.com/Samsung/thorvg/issues/982
src/lib/sw_engine/tvgSwImage.cpp
patch
|
blob
|
history
diff --git
a/src/lib/sw_engine/tvgSwImage.cpp
b/src/lib/sw_engine/tvgSwImage.cpp
index
886e600
..
2ef024d
100644
(file)
--- a/
src/lib/sw_engine/tvgSwImage.cpp
+++ b/
src/lib/sw_engine/tvgSwImage.cpp
@@
-97,7
+97,6
@@
void imageDelOutline(SwImage* image, SwMpool* mpool, uint32_t tid)
void imageReset(SwImage* image)
{
rleReset(image->rle);
- image->rle = nullptr;
}