P2P: Cleanup by removing unnecessary os_free() call from p2p_deinit()
Remove the unnecessary os_free() call from p2p_deinit() since p2p_flush() called just above this takes care of freeing p2p->after_scan_tx and the second call here ends up being no-op os_free(NULL) in practice. Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
This commit is contained in:
parent
e347cafe57
commit
77d468e4db
1 changed files with 0 additions and 1 deletions
|
@ -2999,7 +2999,6 @@ void p2p_deinit(struct p2p_data *p2p)
|
||||||
os_free(p2p->groups);
|
os_free(p2p->groups);
|
||||||
p2ps_prov_free(p2p);
|
p2ps_prov_free(p2p);
|
||||||
wpabuf_free(p2p->sd_resp);
|
wpabuf_free(p2p->sd_resp);
|
||||||
os_free(p2p->after_scan_tx);
|
|
||||||
p2p_remove_wps_vendor_extensions(p2p);
|
p2p_remove_wps_vendor_extensions(p2p);
|
||||||
os_free(p2p->no_go_freq.range);
|
os_free(p2p->no_go_freq.range);
|
||||||
p2p_service_flush_asp(p2p);
|
p2p_service_flush_asp(p2p);
|
||||||
|
|
Loading…
Reference in a new issue