diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2018-09-17 17:26:20 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-09-17 13:40:47 +0200 |
commit | 1064bc685d359f549f91c2d5f111965a9284f328 (patch) | |
tree | 3652ab2b6550eae8d284924338bd67c84891339b /sound/soc/zte | |
parent | ce925f088b979537f22f9e05eb923ef9822ca139 (diff) | |
download | linux-1064bc685d359f549f91c2d5f111965a9284f328.tar.bz2 |
ALSA: oxfw: fix memory leak of discovered stream formats at error path
After finishing discover of stream formats, ALSA OXFW driver has memory
leak of allocated memory object at error path.
This commit releases the memory object at the error path.
Fixes: 6c29230e2a5f ('ALSA: oxfw: delayed registration of sound card')
Cc: <stable@vger.kernel.org> # v4.7+
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/zte')
0 files changed, 0 insertions, 0 deletions