diff options
author | Simon Glass <sjg@chromium.org> | 2018-06-12 00:05:01 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-06-19 07:31:44 -0400 |
commit | fb95283931011aef78d885f2799ad9d7367f4e48 (patch) | |
tree | 37b3d2f8be779022f3bc6ed28ce6feb7ebdfb2f7 /cmd/tpm-v2.c | |
parent | 8a682e03d7d18b3d20810ea83fcec69f8d09c909 (diff) |
spi: sandbox: Fix memory leak in sandbox_sf_bind_emul()
Move the strdup() call so that it is only done when we know we will bind
the device.
Reported-by: Coverity (CID: 131216)
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/tpm-v2.c')
0 files changed, 0 insertions, 0 deletions