Don't leak auto-scaled RGBA textures.

This commit is contained in:
Mikael Magnusson 2008-03-05 20:12:45 +01:00
parent e3530560f4
commit 232cbb9eb7

View file

@ -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,