diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2016-10-25 21:31:18 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-10-26 07:53:36 +1000 |
commit | 7ac03c6c1907a39b5b42b17ad331295b8c85154d (patch) | |
tree | 96d219de143ad46e99c8dee7c094b39d1c3ff93f /src | |
parent | 1bdeb431c3cc9eec7e12fdd29a83237f2f228865 (diff) |
Plug a memory leak
Introduced in commit 19a9cd6.
Reported-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/XIQueryDevice.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XIQueryDevice.c b/src/XIQueryDevice.c index a457cd6..e3b0c9f 100644 --- a/src/XIQueryDevice.c +++ b/src/XIQueryDevice.c @@ -135,6 +135,8 @@ error_loop: Xfree(info[i].name); Xfree(info[i].classes); } + Xfree(info); + Xfree(buf); error: UnlockDisplay(dpy); error_unlocked: |