X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=xinerama.c;h=3a1c7565b6377cd8acf494d902f0b0be1fa71979;hb=fd2215b0f08991f0f710533b122a182438ff2237;hp=e4b87a4b8fdc4cece0969e54a8f628325ff6b35a;hpb=dc2b6e5f3985354d42ea015afc15be2258d6b660;p=i3%2Fi3lock diff --git a/xinerama.c b/xinerama.c index e4b87a4..3a1c756 100644 --- a/xinerama.c +++ b/xinerama.c @@ -1,7 +1,7 @@ /* * vim:ts=4:sw=4:expandtab * - * © 2010-2012 Michael Stapelberg + * © 2010 Michael Stapelberg * * See LICENSE for licensing information * @@ -46,6 +46,7 @@ void xinerama_init(void) { } xinerama_active = true; + free(reply); } void xinerama_query_screens(void) { @@ -81,8 +82,8 @@ void xinerama_query_screens(void) { xr_resolutions[screen].width = screen_info[screen].width; xr_resolutions[screen].height = screen_info[screen].height; DEBUG("found Xinerama screen: %d x %d at %d x %d\n", - screen_info[screen].width, screen_info[screen].height, - screen_info[screen].x_org, screen_info[screen].y_org); + screen_info[screen].width, screen_info[screen].height, + screen_info[screen].x_org, screen_info[screen].y_org); } free(reply);