
When same NAN commands are issued back to back, serialization module rejects the commands when there is a command present in the pending queue. But the memory allocated for the NAN buffer is not freed in such failure cases. Free the NAN buffer in such failure cases to avoid memleaks. Change-Id: I1d1f9c077d4b6239f4400d9b3ed185e63e471b56 CRs-Fixed: 3341229