projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db0dcdf
)
xenpaging: remove duplicate xc_interface_close call
author
Olaf Hering
<olaf@aepfle.de>
Tue, 14 Dec 2010 18:50:16 +0000
(18:50 +0000)
committer
Olaf Hering
<olaf@aepfle.de>
Tue, 14 Dec 2010 18:50:16 +0000
(18:50 +0000)
Fix double-free in xc_interface_close() because xenpaging_teardown()
releases the *xch already. Remove second xc_interface_close() call.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xenpaging/xenpaging.c
patch
|
blob
|
history
diff --git
a/tools/xenpaging/xenpaging.c
b/tools/xenpaging/xenpaging.c
index 2e0c8bd65f191cf4911e9936020aeee29d976161..94e611df0b7dea67a3c1784fa2ac8e82ed16f422 100644
(file)
--- a/
tools/xenpaging/xenpaging.c
+++ b/
tools/xenpaging/xenpaging.c
@@
-693,8
+693,6
@@
int main(int argc, char *argv[])
if ( rc == 0 )
rc = rc1;
- xc_interface_close(xch);
-
DPRINTF("xenpaging exit code %d\n", rc);
return rc;
}