]> Dogcows Code - chaz/openbox/commitdiff
Don't leak auto-scaled RGBA textures.
authorMikael Magnusson <mikachu@comhem.se>
Wed, 5 Mar 2008 19:12:45 +0000 (20:12 +0100)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 5 Mar 2008 19:12:45 +0000 (20:12 +0100)
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.024698 seconds and 4 git commands to generate.