diff options
author | Andrzej Pietrasiewicz <[email protected]> | 2015-07-03 14:02:29 +0200 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2015-07-06 12:34:08 -0500 |
commit | b2e2c94b878be2500d4d42c1f52a2fa1fe7648b4 (patch) | |
tree | 5da31c96bcaee62996db2d22e6e2327d8be1321a /lib/string_helpers.c | |
parent | 543aa4867d4a2dff5fc11e1b688197ee3bad7f89 (diff) |
usb: gadget: f_midi: fix error recovery path
In case kstrdup() fails the resources to release are
midi->in_port[] and midi. No cards have been registered,
so no need to unregister any.
Signed-off-by: Andrzej Pietrasiewicz <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions