forgotten to free memory in pAdapterInfo

This commit is contained in:
xor2003 2014-10-17 11:22:18 +04:00
parent 6114bd7f3e
commit 35b16b9cee

View File

@ -86,6 +86,10 @@ static void fetch_broadcast_info(uint16_t port)
pAdapter = pAdapter->Next; pAdapter = pAdapter->Next;
} }
} }
if (pAdapterInfo) {
free(pAdapterInfo);
}
} }
#elif defined(__linux__) #elif defined(__linux__)