Simon Glass fb95283931 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>
2018-06-19 07:31:44 -04:00
..
2018-05-11 15:22:36 -04:00
2018-06-13 07:49:12 -04:00
2018-05-29 14:45:04 +08:00
2008-09-09 11:48:53 +02:00