From: Dana Jansens Date: Mon, 1 Sep 2003 03:34:24 +0000 (+0000) Subject: copy/free the new interlaced color X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1d31a09fd33fe5d83e0471ae5195bffacbeb6f3e;p=chaz%2Fopenbox copy/free the new interlaced color --- diff --git a/render/render.c b/render/render.c index 1351cb36..52b8cff2 100644 --- a/render/render.c +++ b/render/render.c @@ -189,6 +189,13 @@ RrAppearance *RrAppearanceCopy(RrAppearance *orig) spo->border_color->b); else spc->border_color = NULL; + if (spo->interlaced_color != NULL) + spc->interlaced_color = RrColorNew(copy->inst, + spo->interlaced_color->r, + spo->interlaced_color->g, + spo->interlaced_color->b); + else spc->interlaced_color = NULL; + if (spo->bevel_dark != NULL) spc->bevel_dark = RrColorNew(copy->inst, spo->bevel_dark->r, @@ -242,6 +249,7 @@ void RrAppearanceFree(RrAppearance *a) RrColorFree(p->primary); RrColorFree(p->secondary); RrColorFree(p->border_color); + RrColorFree(p->interlaced_color); RrColorFree(p->bevel_dark); RrColorFree(p->bevel_light); g_free(p->pixel_data);