summaryrefslogtreecommitdiff
path: root/config/hal.c
diff options
context:
space:
mode:
authorFatih Aşıcı <fatih@pardus.org.tr>2007-12-25 22:59:24 +0200
committerJulien Cristau <jcristau@debian.org>2007-12-26 02:07:52 +0100
commit389e8917f66a489455f1d5c70f44c262717538ad (patch)
tree9c254367f8e3cb025d077b38b45ed07383723dd5 /config/hal.c
parent743008a4812d6b046211ebcf4eab202687b458d5 (diff)
Config: Fix a memory leak
Diffstat (limited to 'config/hal.c')
-rw-r--r--config/hal.c2
1 files changed, 2 insertions, 0 deletions
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)