summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2018-04-26 10:31:52 +0300
committerJohannes Berg <johannes.berg@intel.com>2018-05-07 16:01:40 +0300
commit4bf01ca21e2e0e4561d1a03c48c3d740418702db (patch)
treeb243a583f6261adff678a69d677e942704436d45 /Makefile
parente8f90c74e6ab64824f3a21521640de7b21050b9d (diff)
downloadlinux-4bf01ca21e2e0e4561d1a03c48c3d740418702db.tar.xz
rfkill: gpio: fix memory leak in probe error path
Make sure to free the rfkill device in case registration fails during probe. Fixes: 5e7ca3937fbe ("net: rfkill: gpio: convert to resource managed allocation") Cc: stable <stable@vger.kernel.org> # 3.13 Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions