From 8564d551497b001618ab38714e3dd3b4e2af9e0b Mon Sep 17 00:00:00 2001 From: Hugohong258 Date: Sun, 13 Sep 2026 02:30:59 +0800 Subject: [PATCH] [examples] Release source images in image rotate example (#6145) Co-authored-by: Hugohong258 <282228220+Hugohong258@users.noreply.github.com> --- examples/textures/textures_image_rotate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/textures/textures_image_rotate.c b/examples/textures/textures_image_rotate.c index f508adfc8..07c73b8c9 100644 --- a/examples/textures/textures_image_rotate.c +++ b/examples/textures/textures_image_rotate.c @@ -44,6 +44,10 @@ int main(void) textures[1] = LoadTextureFromImage(image90); textures[2] = LoadTextureFromImage(imageNeg90); + UnloadImage(image45); + UnloadImage(image90); + UnloadImage(imageNeg90); + int currentTexture = 0; SetTargetFPS(60); // Set our game to run at 60 frames-per-second