mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +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,6 +319,7 @@ int main(int argc, char **argv)
|
||||||
elm_transit_effect_add(transit, transitCb, view, nullptr);
|
elm_transit_effect_add(transit, transitCb, view, nullptr);
|
||||||
|
|
||||||
elm_run();
|
elm_run();
|
||||||
|
elm_transit_del(transit);
|
||||||
|
|
||||||
tvg_canvas_destroy(canvas);
|
tvg_canvas_destroy(canvas);
|
||||||
free(buffer);
|
free(buffer);
|
||||||
|
|
Loading…
Add table
Reference in a new issue