]> Dogcows Code - chaz/openbox/commitdiff
memory leak in xinerama setup code
authorDana Jansens <danakj@orodu.net>
Sun, 18 Mar 2007 15:16:03 +0000 (15:16 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 18 Mar 2007 15:16:03 +0000 (15:16 +0000)
openbox/extensions.c

index 4807528eb7efa3114db5d1fab0454bd013888208..32ad00123302508370daa732bf0125c89dfb35b2 100644 (file)
@@ -75,6 +75,7 @@ void extensions_xinerama_screens(Rect **xin_areas, guint *nxin)
         for (i = 0; i < *nxin; ++i)
             RECT_SET((*xin_areas)[i], info[i].x_org, info[i].y_org,
                      info[i].width, info[i].height);
+        XFree(info);
     } else
 #endif
     {
This page took 0.022734 seconds and 4 git commands to generate.