From: Wei Yongjun Date: Mon, 24 Sep 2012 04:24:25 +0000 (+0000) Subject: qeth: fix possible memory leak in qeth_l3_add_[vipa|rxip]() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f68bd07c41f93a4291d3605d5b5ac254340c439e;p=pandora-kernel.git qeth: fix possible memory leak in qeth_l3_add_[vipa|rxip]() ipaddr has been allocated in function qeth_l3_add_vipa() but does not free before leaving from the error handling cases. The same problem also exists in function qeth_l3_add_rxip(). spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Signed-off-by: Frank Blaschka Signed-off-by: David S. Miller --- Reading git-diff-tree failed