Fix Xinerama memory leak

This commit is contained in:
Kris Maglione 2008-10-13 23:39:20 -04:00
parent 164a2a033c
commit cd233229cf
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ xinerama_screens(int *np) {
rects[i].max.x = res[i].x_org + res[i].width;
rects[i].max.y = res[i].y_org + res[i].height;
}
XFree(res);
*np = n;
return rects;