]> sigrok.org Git - sigrok-cli.git/commitdiff
sigrok-cli: Fix leaks in device_scan().
authorpoljar (Damir Jelić) <redacted>
Wed, 30 Oct 2013 22:04:02 +0000 (23:04 +0100)
committerBert Vermeulen <redacted>
Thu, 31 Oct 2013 08:47:37 +0000 (09:47 +0100)
If a bogus driver name is specified on the command line or for some reason we
fail to initialize a driver device_scan() leaks data.

This patch adds appropriate free calls.


No differences found