diff options
author | Dave Airlie <airlied@redhat.com> | 2011-10-20 10:48:26 +0100 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-12-09 12:35:44 -0800 |
commit | db418ff7501d960c8de813a37b8bb37b1ba22175 (patch) | |
tree | bd4f7ae50c6ba43ced2292fd4e08e4b347b5b711 | |
parent | 6b11b18ab683e1f38e5b27066b35947b96956e5f (diff) |
hal: free tmp_val in one missing case
Pointed out by coverity scan.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit 8d3731a811e33e263920dd7c8ec63d02968cb56e)
-rw-r--r-- | config/hal.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } } |