]> Dogcows Code - chaz/openbox/blobdiff - render/render.c
fix two memleaks
[chaz/openbox] / render / render.c
index 05f7c9931c11a9837ff26787ae0d24628f72902a..355a245105a52476f1bc842ab621eafe347c6f89 100644 (file)
@@ -329,6 +329,7 @@ void RrMinsize(RrAppearance *a, gint *w, gint *h)
             *w = MAX(*w, m->width + 4);
             m->height = RrFontHeight(a->texture[i].data.text.font);
             *h += MAX(*h, m->height);
+            g_free(m);
             break;
         case RR_TEXTURE_RGBA:
             *w += MAX(*w, a->texture[i].data.rgba.width);
This page took 0.02515 seconds and 4 git commands to generate.