Changeset 29723


Ignore:
Timestamp:
2012-01-13T01:54:25+01:00 (6 years ago)
Author:
jow
Message:

[package] iwinfo: plug memory leak in nl80211 backend, nl80211_close() did not put the family pointer

Location:
trunk/package/iwinfo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/iwinfo/Makefile

    r29634 r29723  
    11# 
    2 # Copyright (C) 2010-2011 Jo-Philipp Wich <xm@subsignal.org> 
     2# Copyright (C) 2010-2012 Jo-Philipp Wich <xm@subsignal.org> 
    33# 
    44# This is free software, licensed under the GPL 2 license. 
     
    88 
    99PKG_NAME:=libiwinfo 
    10 PKG_RELEASE:=22 
     10PKG_RELEASE:=23 
    1111 
    1212PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) 
  • trunk/package/iwinfo/src/iwinfo_nl80211.c

    r29462 r29723  
    560560        if (nls) 
    561561        { 
     562                if (nls->nl80211) 
     563                        genl_family_put(nls->nl80211); 
     564 
    562565                if (nls->nl_sock) 
    563566                        nl_socket_free(nls->nl_sock); 
Note: See TracChangeset for help on using the changeset viewer.