Commit 7ac03c6c authored by Emilio Pozuelo Monfort's avatar Emilio Pozuelo Monfort Committed by Peter Hutterer

Plug a memory leak

Introduced in commit 19a9cd60.
Reported-by: Julien Cristau's avatarJulien Cristau <jcristau@debian.org>
Signed-off-by: default avatarEmilio Pozuelo Monfort <pochu@debian.org>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 1bdeb431
......@@ -135,6 +135,8 @@ error_loop:
Xfree(info[i].name);
Xfree(info[i].classes);
}
Xfree(info);
Xfree(buf);
error:
UnlockDisplay(dpy);
error_unlocked:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment