forgotten to free memory in pAdapterInfo