Skip to content
Commit 284b4c92 authored by Wang YanQing's avatar Wang YanQing Committed by Takashi Iwai
Browse files

ALSA: hda: Fix forget to free resource in error handling code path in hda_codec_driver_probe



When hda_codec_driver_probe meet error and return failure, we need
to free resource with patch_ops.free, or we will get resource leak.

Signed-off-by: default avatarWang YanQing <udknight@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b06898d1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment