projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12eaa1b
)
libxl: fix leak of config_data in main_cpupoolcreate
author
Matthew Daley
<mattjd@gmail.com>
Wed, 18 Sep 2013 03:37:43 +0000
(15:37 +1200)
committer
Ian Campbell
<ian.campbell@citrix.com>
Wed, 25 Sep 2013 11:49:01 +0000
(12:49 +0100)
Coverity-ID:
1087193
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl_cmdimpl.c
b/tools/libxl/xl_cmdimpl.c
index 211bdea01a5ca280c9f74f70cb46f60dfa83a138..b05763fbe370de637b62038a10ed8d89cb7977db 100644
(file)
--- a/
tools/libxl/xl_cmdimpl.c
+++ b/
tools/libxl/xl_cmdimpl.c
@@
-6554,6
+6554,7
@@
int main_cpupoolcreate(int argc, char **argv)
out_cfg:
xlu_cfg_destroy(config);
out:
+ free(config_data);
return rc;
}