mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +00:00
examples capi: fix a memory leak.
a shape is not cleaned properly. @Issues: 178
This commit is contained in:
parent
462bf277f2
commit
d9a0cf3d78
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,8 @@ void testCapi()
|
|||
Tvg_Paint* dup = tvg_paint_duplicate(org);
|
||||
tvg_canvas_push(canvas, dup);
|
||||
|
||||
tvg_paint_del(org);
|
||||
|
||||
//Scene test
|
||||
Tvg_Paint* scene = tvg_scene_new();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue