[PATCH] Cleanup by removing unnecessary os_free() call from p2p_deinit().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This Patch is to remove unnecessary os_free() call from p2p_deinit().

 Signed-off-by: Mayank Haarit <mayank.h@xxxxxxxxxxx>

---
 src/p2p/p2p.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c
index 47abe21..ea54f74 100644
--- a/src/p2p/p2p.c
+++ b/src/p2p/p2p.c
@@ -2999,7 +2999,6 @@ void p2p_deinit(struct p2p_data *p2p)
        os_free(p2p->groups);
        p2ps_prov_free(p2p);
        wpabuf_free(p2p->sd_resp);
-       os_free(p2p->after_scan_tx);
        p2p_remove_wps_vendor_extensions(p2p);
        os_free(p2p->no_go_freq.range);
        p2p_service_flush_asp(p2p);
--
1.7.0.4

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux