summaryrefslogtreecommitdiff
path: root/xinerama.c
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2012-10-26 20:21:53 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-10-26 20:21:53 +0200
commit1d08065fe02304f078c9b34250148777f3d0a734 (patch)
tree5ae995c4d9077f4321c30d94228d3a11dca0c6fe /xinerama.c
parent2cadf22c67beedcc52b70c76518c91467581ffb8 (diff)
bugfix: free(reply) to avoid memory leak
Diffstat (limited to 'xinerama.c')
-rw-r--r--xinerama.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xinerama.c b/xinerama.c
index e4b87a4..47a35f9 100644
--- a/xinerama.c
+++ b/xinerama.c
@@ -46,6 +46,7 @@ void xinerama_init(void) {
}
xinerama_active = true;
+ free(reply);
}
void xinerama_query_screens(void) {