Re: [PATCH 1/2] ALSA: hda/ca0132: set codec->spec to NULL after freeing
Takashi Iwai <[email protected]>
| Newsgroups | gmane.linux.sound,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 12 Aug 2026 05:30:19 +0200, songxiebing wrote: > > From: Bob Song <[email protected]> > > ca0132_free() and dbpro_free() call kfree(codec->spec) without > setting codec->spec to NULL afterward, leaving a dangling pointer. > Set it to NULL. > > Signed-off-by: Bob Song <[email protected]> Applied both patches to for-next branch. Thanks. Takashi