xl: don't leak a lot of memory in forked process in domain_create

A goto statement skips over freeing data structures for no good reason.
It's not a real issue since the next step is to exit() but this cleans
up output of valgrind so that other leaks and errors can be spotted.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
Gianni Tedesco committed 2010-09-10 18:49:49 +01:00
1 parent b050781292
commit d074f7ebc9
1 file changed
+1 -1
+1 -1
View File
@@ -1511,7 +1511,7 @@ start:
goto error_out;
}
ret = domid;
goto waitpid_out;
goto out;
}
rc = libxl_ctx_postfork(&ctx);
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.