Tag: 9fef76857feed8e94ca3a5ee37db644f04a9488b

mISDN: fix possible memory leak in hfcmulti_init()

Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> hc has been allocated in this function and missing free it before leaving from some error handling cases. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller — drivers/isdn/hardware/mISDN/hfcmulti.c | 2 ++ 1 file changed, 2 insertions(+)   diff –git a/drivers/isdn/hardware/mISDN/hfcmulti.c …

Continue reading