lkml.org 
[lkml]   [2012]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] wireless: fix leak found by coverity
    Date
    From: Alan Cox <alan@linux.intel.com>

    Signed-off-by: Alan Cox <alan@linux.intel.com>
    ---

    drivers/net/wireless/mwifiex/cfg80211.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c
    index 97de652..497a05a 100644
    --- a/drivers/net/wireless/mwifiex/cfg80211.c
    +++ b/drivers/net/wireless/mwifiex/cfg80211.c
    @@ -1003,6 +1003,7 @@ static int mwifiex_cfg80211_start_ap(struct wiphy *wiphy,
    case NL80211_HIDDEN_SSID_ZERO_CONTENTS:
    /* firmware doesn't support this type of hidden SSID */
    default:
    + kfree(bss_cfg);
    return -EINVAL;
    }



    \
     
     \ /
      Last update: 2012-07-04 17:21    [W:0.025 / U:30.032 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site