diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-01-27 11:16:58 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-01-27 17:34:54 -0800 |
commit | 4b27be1223b048322398e04fcebef7f85c0dac0d (patch) | |
tree | 68fbd13d0a3c1459a1e40135d65cbee9bb36c1e4 /drivers/staging/greybus/audio_codec.h | |
parent | 2df6396160b019d992241e2db8a6d5a15f654e69 (diff) | |
download | op-kernel-dev-4b27be1223b048322398e04fcebef7f85c0dac0d.zip op-kernel-dev-4b27be1223b048322398e04fcebef7f85c0dac0d.tar.gz |
greybus: audio_codec: Free gccodec on dia probe failure
We aren't freeing the codec, that we allocated before failing to probe
the connection. Free it.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/audio_codec.h')
0 files changed, 0 insertions, 0 deletions