From: Mikael Magnusson Date: Wed, 5 Mar 2008 19:12:45 +0000 (+0100) Subject: Don't leak auto-scaled RGBA textures. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=232cbb9eb7cc8580e5911b5cfff197408b7d8616;p=chaz%2Fopenbox Don't leak auto-scaled RGBA textures. --- 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,