From 086f7a4d1758998c3692bb8d4fbd3a05eb27a7a1 Mon Sep 17 00:00:00 2001 From: Christian Engelmayer Date: Fri, 9 May 2014 15:03:50 +0200 Subject: [PATCH] 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-format-patch failed