git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
751227a
)
examples/power: fix resource leak
author
David Hunt
<david.hunt@intel.com>
Tue, 9 Apr 2019 09:43:26 +0000
(10:43 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Mon, 22 Apr 2019 22:15:10 +0000
(
00:15
+0200)
Coverity issue: 337674
Fixes:
99a968fac0cf
("examples/vm_power: add core list parameter")
Cc: stable@dpdk.org
Signed-off-by: David Hunt <david.hunt@intel.com>
examples/vm_power_manager/main.c
patch
|
blob
|
history
diff --git
a/examples/vm_power_manager/main.c
b/examples/vm_power_manager/main.c
index
893bf4c
..
dd79a82
100644
(file)
--- a/
examples/vm_power_manager/main.c
+++ b/
examples/vm_power_manager/main.c
@@
-175,6
+175,7
@@
parse_args(int argc, char **argv)
if (cnt < 0) {
printf("Invalid core-list - [%s]\n",
optarg);
+ free(oob_enable);
break;
}
for (i = 0; i < ci->core_count; i++) {