Tag: d6f35e3f0da14a5eb02114708d88ae2f59dc8283

ALSA: sound/pci/pcxhr/pcxhr.c: introduce missing kfree and pci_disable_device

Author: Julia Lawall <julia@diku.dk> Error handling code following a kzalloc should free the allocated data. The error handling code is adjusted to call pci_disable_device(pci); as well, as done later in the function The semantic match that finds the problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // @r exists@ local idexpression x; statement S; expression E; identifier f,l; …

Continue reading