mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
examples: fix heap-use-after-free in Capi.cpp
This commit is contained in:
parent
9300de2d06
commit
185836d278
1 changed files with 2 additions and 1 deletions
|
@ -319,7 +319,8 @@ int main(int argc, char **argv)
|
|||
elm_transit_effect_add(transit, transitCb, view, nullptr);
|
||||
|
||||
elm_run();
|
||||
|
||||
elm_transit_del(transit);
|
||||
|
||||
tvg_canvas_destroy(canvas);
|
||||
free(buffer);
|
||||
tvg_animation_del(animation);
|
||||
|
|
Loading…
Add table
Reference in a new issue