From f551531bb5455866b491c617b08f69cbe623cfc8 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Fri, 28 Jul 2023 23:37:29 +0900 Subject: [PATCH] examples blending: fix a memory leak. --- src/examples/Blending.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/examples/Blending.cpp b/src/examples/Blending.cpp index 7c303a59..cb9e6059 100644 --- a/src/examples/Blending.cpp +++ b/src/examples/Blending.cpp @@ -167,6 +167,8 @@ void tvgDrawCmds(tvg::Canvas* canvas) picture4->rotate(90); picture4->blend(tvg::BlendMethod::SoftLight); canvas->push(std::move(picture4)); + + free(data); }