]> Dogcows Code - chaz/openbox/blobdiff - render/image.c
Don't leak auto-scaled RGBA textures.
[chaz/openbox] / render / image.c
index 6fbd8a8e3c860473f6ae200f53aff1764b556007..be3e46be55e968ce9bc0d331f431e8b2c0dd3e81 100644 (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,
This page took 0.022196 seconds and 4 git commands to generate.