From 389e8917f66a489455f1d5c70f44c262717538ad Mon Sep 17 00:00:00 2001 From: Fatih Aşıcı Date: Tue, 25 Dec 2007 22:59:24 +0200 Subject: Config: Fix a memory leak --- config/hal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/hal.c b/config/hal.c index 4427deb39..45238c0f4 100644 --- a/config/hal.c +++ b/config/hal.c @@ -251,6 +251,8 @@ unwind: xfree(xkb_model); if (xkb_layout) xfree(xkb_layout); + if (xkb_variant) + xfree(xkb_variant); if (xkb_options) xfree(xkb_options); if (config_info) -- cgit v1.2.3