diff options
author | Dave Airlie <airlied@redhat.com> | 2011-10-20 10:48:26 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-06 16:01:50 +0000 |
commit | 8d3731a811e33e263920dd7c8ec63d02968cb56e (patch) | |
tree | 530893f9e554e098e6db9ed0a0c43615d35a5475 | |
parent | 41229392b790f30a0f0ef1f4ed95647c5bca4001 (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>
-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 aa234ebb4..088c9939d 100644 --- a/config/hal.c +++ b/config/hal.c @@ -348,6 +348,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); } } } |