Commit db418ff7 authored by Dave Airlie's avatar Dave Airlie Committed by Jeremy Huddleston Sequoia
Browse files

hal: free tmp_val in one missing case



Pointed out by coverity scan.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
(cherry picked from commit 8d3731a8)
parent 6b11b18a
......@@ -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);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment