diff options
author | Mengdong Lin <mengdong.lin@intel.com> | 2013-03-07 14:10:25 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-03-07 09:12:14 +0100 |
commit | 25336e8ae2d2fa64c9c4cc2c9c28f641134c9fa9 (patch) | |
tree | 3a3d8caab99e648f8875f5ec2becf58226d3fd29 /sound/last.c | |
parent | 9fedcc44f10d1e6820914f93a96d51bc7e653d98 (diff) |
ALSA: hda - check NULL pointer when creating SPDIF controls
If the SPDIF control array cannot be reallocated, the function
will return to avoid dereferencing a NULL pointer.
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions