Skip to content
Commit 14d40569 authored by Dan Carpenter's avatar Dan Carpenter Committed by David Woodhouse
Browse files

iommu/vt-d: returning free pointer in get_domain_for_dev()



If we hit this error condition then we want to return a NULL pointer and
not a freed variable.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 63b42624
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment