From: Christian Engelmayer Date: Fri, 9 May 2014 13:03:50 +0000 (+0200) Subject: staging: rtl8723au: fix potential leak in update_bcn_wps_ie() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~971 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=086f7a4d1758998c3692bb8d4fbd3a05eb27a7a1;p=pandora-kernel.git staging: rtl8723au: fix potential leak in update_bcn_wps_ie() Fix a potential leak in the error path of function update_bcn_wps_ie(). Move the affected input verification to the beginning of the function so that it may return directly without leaking already allocated memory. Detected by Coverity - CID 1077718. Signed-off-by: Christian Engelmayer Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed