diff --git a/config/hal.c b/config/hal.c index 297520aa6..a4141d552 100644 --- a/config/hal.c +++ b/config/hal.c @@ -355,6 +355,7 @@ device_added(LibHalContext *hal_ctx, const char *udi) if (!strcasecmp(tmp, ".options") && (!xkb_opts.options)) xkb_opts.options = strdup(tmp_val); } + free(tmp_val); } } }