P2P: Cleanup by removing unnecessary os_free() call from p2p_deinit()
authorMAYANK HAARIT <mayank.h@samsung.com>
Mon, 4 Jul 2016 05:12:39 +0000 (05:12 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 23 Jul 2016 17:35:56 +0000 (20:35 +0300)
commit77d468e4db6afd5426002372bf71b14ec3f33a44
tree93116c1425f7cef8f2f3cab5f9155399252ed40b
parente347cafe5722268b94410d4acd6804976b78b7d2
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>
src/p2p/p2p.c