ALSA: hda - check NULL pointer when creating SPDIF controls
authorMengdong Lin <mengdong.lin@intel.com>
Thu, 7 Mar 2013 19:10:25 +0000 (14:10 -0500)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Mar 2013 08:12:14 +0000 (09:12 +0100)
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>

No differences found