memory leak in xinerama setup code

This commit is contained in:
Dana Jansens 2007-03-18 15:16:03 +00:00
parent 841a83fa6d
commit 0ed1b678d1

View file

@ -75,6 +75,7 @@ void extensions_xinerama_screens(Rect **xin_areas, guint *nxin)
for (i = 0; i < *nxin; ++i) for (i = 0; i < *nxin; ++i)
RECT_SET((*xin_areas)[i], info[i].x_org, info[i].y_org, RECT_SET((*xin_areas)[i], info[i].x_org, info[i].y_org,
info[i].width, info[i].height); info[i].width, info[i].height);
XFree(info);
} else } else
#endif #endif
{ {