Fix solaris xc_map_foreign_ranges()

Signed-off-by: John Levon <john.levon@sun.com>
This commit is contained in:
Keir Fraser committed 2009-03-12 10:56:08 +00:00
1 parent 8a5396dda1
commit 08dade96d9
1 file changed
+2
+2
View File
@@ -134,6 +134,8 @@ void *xc_map_foreign_ranges(int xc_handle, uint32_t dom,
if (rc)
goto ioctl_failed;
return addr;
ioctl_failed:
rc = munmap(addr, size);
if (rc == -1)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.