macvtap: avoid invalid free
Commit 0472f39f plugged a leak, but introduced another bug: Actually looks like physfndev is conditionally allocated in getPhysfnDev Its better to modify getPhysfnDev to allocate physfndev every time.
Showing
想要评论请 注册 或 登录