[WCNCR00166327] p2p: Fix memory leak issue when enable dual P2P/AP mode

[Description]
Fix memory leak issue when enable dual P2P/AP mode

Change-Id: I63e739ad0a8716564b67fca0e48a6fedc2001433
Signed-off-by: Th3 Huang <th3.huang@mediatek.com>
CR-Id: WCNCR00166327
Feature: p2p
1 file changed