From 232cbb9eb7cc8580e5911b5cfff197408b7d8616 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 5 Mar 2008 20:12:45 +0100 Subject: [PATCH] Don't leak auto-scaled RGBA textures. --- render/image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/render/image.c b/render/image.c index 6fbd8a8e..be3e46be 100644 --- a/render/image.c +++ b/render/image.c @@ -294,6 +294,7 @@ void RrImageDrawRGBA(RrPixel32 *target, RrTextureRGBA *rgba, DrawRGBA(target, target_w, target_h, scaled->data, scaled->width, scaled->height, rgba->alpha, area); + RrImagePicFree(scaled); } else DrawRGBA(target, target_w, target_h, -- 2.45.2