diff options
| author | Simon Glass <[email protected]> | 2018-06-12 00:05:01 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-06-19 07:31:44 -0400 |
| commit | fb95283931011aef78d885f2799ad9d7367f4e48 (patch) | |
| tree | 37b3d2f8be779022f3bc6ed28ce6feb7ebdfb2f7 /include | |
| 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 <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
