diff options
| author | Subhransu S. Prusty <[email protected]> | 2017-11-07 10:46:26 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2017-11-08 18:58:29 +0000 |
| commit | 1c0a7de226660b0306b54aaf2cb52312e74723eb (patch) | |
| tree | 2e5bd193f4e2b9005b56a7445875504dc71b6993 /net/unix/af_unix.c | |
| parent | ASoC: hdac_hdmi: Fix possible NULL pointer dereference (diff) | |
| download | kernel-1c0a7de226660b0306b54aaf2cb52312e74723eb.tar.gz kernel-1c0a7de226660b0306b54aaf2cb52312e74723eb.zip | |
ASoC: hdac_hdmi: Fix possible memory leak on parse and map nid failure
During failure, widgets in cvt_list and pin_list are not freed. So fix
the possible memory leak by freeing them when failure occurs.
Signed-off-by: Subhransu S. Prusty <[email protected]>
Signed-off-by: Guneshwor Singh <[email protected]>
Acked-By: Vinod Koul <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
