mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
[package] iwinfo: plug memory leak in nl80211 backend, nl80211_close() did not put the family pointer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29723 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
056e3e42e0
commit
f49dda30e2
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2010-2011 Jo-Philipp Wich <xm@subsignal.org>
|
||||
# Copyright (C) 2010-2012 Jo-Philipp Wich <xm@subsignal.org>
|
||||
#
|
||||
# This is free software, licensed under the GPL 2 license.
|
||||
#
|
||||
@ -7,7 +7,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libiwinfo
|
||||
PKG_RELEASE:=22
|
||||
PKG_RELEASE:=23
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||
PKG_CONFIG_DEPENDS := \
|
||||
|
@ -559,6 +559,9 @@ void nl80211_close(void)
|
||||
{
|
||||
if (nls)
|
||||
{
|
||||
if (nls->nl80211)
|
||||
genl_family_put(nls->nl80211);
|
||||
|
||||
if (nls->nl_sock)
|
||||
nl_socket_free(nls->nl_sock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user