memory leak in xinerama setup code
This commit is contained in:
parent
841a83fa6d
commit
0ed1b678d1
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue