diff options
author | Matthew Daley <mattjd@gmail.com> | 2013-09-18 15:37:43 +1200 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-09-25 12:49:01 +0100 |
commit | 7737ecb20c5babff45445d27fff91894b43a2d28 (patch) | |
tree | da6985468ec46e6ae800d080166ccd07381a53a1 | |
parent | 12eaa1b4d2ae7b2e8c5f7d820bd9ec0476ead0f7 (diff) | |
download | xen-7737ecb20c5babff45445d27fff91894b43a2d28.tar.gz xen-7737ecb20c5babff45445d27fff91894b43a2d28.tar.bz2 xen-7737ecb20c5babff45445d27fff91894b43a2d28.zip |
libxl: fix leak of config_data in main_cpupoolcreate
Coverity-ID: 1087193
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
-rw-r--r-- | tools/libxl/xl_cmdimpl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 211bdea01a..b05763fbe3 100644 --- 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; } |