Fix error exit path in __gnttab_map_grant_ref() to

put_domain() and hence avoid zombie domains.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-02-13 10:23:26 +01:00
1 parent 434badf2d4
commit 11a47e4094
1 file changed
+1
+1
View File
@@ -316,6 +316,7 @@ __gnttab_map_grant_ref(
spin_unlock(&rd->grant_table->lock);
(void)__put_user(rc, &uop->status);
put_maptrack_handle(ld->grant_table, handle);
put_domain(rd);
return rc;
}
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.