all repos — openbox @ b3fa579a61b6259defa0cd718ab7047862cf506f

openbox fork - make it a bit more like ryudo

so it wont leak because ob uses a hash for colors, but lets free the colors anyway
Mikael Magnusson mikachu@comhem.se
commit

b3fa579a61b6259defa0cd718ab7047862cf506f

parent

7ca93b9ff23239dc3076ac07e44a0d6ea2101266

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M render/gradient.crender/gradient.c

@@ -419,6 +419,9 @@

current = COLOR(y3); for (x = w - 1; x >= 0; --x) /* 0 -> w */ *(data++) = current; + + RrColorFree(primary_light); + RrColorFree(secondary_light); } static void gradient_horizontal(RrSurface *sf, gint w, gint h)