commit | f96b36c779f92328bb1c802e6268609191d4449d | [log] [tgz] |
---|---|---|
author | Claudiu Beznea <claudiu.beznea@gmail.com> | Wed Mar 23 20:37:26 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 28 07:30:36 2016 -0700 |
tree | 2c0f545ba62048093c04fb974fae4ed020b64026 | |
parent | 80e3e241fa56312f7a837b7e4781ecffed0b8db6 [diff] |
Staging: wlan-ng: wiphy_free() is not called in case wiphy_register() fails This patch covers wiphy_register() failures in wlan_create_wiphy() from cfg80211.c by calling wiphy_free() for the correspondent struct wiphy allocated structure. Signed-off-by: Claudiu Beznea <claudiu.beznea@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>