Details

[Home]

Issue of the Implementation # K0009

Brief

(ath5k) sc->ah is allocated in ath5k_init_softc() but is not freed

Detailed Description

Memory for "ah" field of "sc" structure is allocated via kzalloc() in ath5k_init_softc(). This function is called when the driver is loaded and some wireless access point is found (automatically) by the device. This memory, however, is never freed, there is no corresponding kfree() for this field except in the error-path of ath5k_init_softc() itself.

Component

linux-kernel 2.38.3

References

Problems found by KEDR

Accepted

Kernel Bug Tracker, bug #37592

Status

Fixed in the kernel 3.1-rc1

[Home]