examples blending: fix a memory leak.

This commit is contained in:
Hermet Park 2023-07-28 23:37:29 +09:00 committed by Hermet Park
parent 65189ab8e8
commit f551531bb5

View file

@ -167,6 +167,8 @@ void tvgDrawCmds(tvg::Canvas* canvas)
picture4->rotate(90);
picture4->blend(tvg::BlendMethod::SoftLight);
canvas->push(std::move(picture4));
free(data);
}