mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-16 04:54:39 +00:00
examples: fix heap-use-after-free in Capi.cpp
This commit is contained in:
parent
d8888923d1
commit
816e7cc584
1 changed files with 2 additions and 1 deletions
|
@ -318,6 +318,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