DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v1] examples/power: fix vm power manager resource leak
@ 2019-04-09  9:43 David Hunt
  2019-04-09  9:43 ` David Hunt
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Hunt @ 2019-04-09  9:43 UTC (permalink / raw)
  To: dev; +Cc: david.hunt, stable

Fixes: 99a968fac0cf ("examples/vm_power: add core list parameter")
    Coverity issue: 337674

Signed-off-by: David Hunt <david.hunt@intel.com>
---
 examples/vm_power_manager/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/vm_power_manager/main.c b/examples/vm_power_manager/main.c
index 893bf4cdd..dd79a82fa 100644
--- 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++) {
-- 
2.17.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-22 20:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-09  9:43 [dpdk-dev] [PATCH v1] examples/power: fix vm power manager resource leak David Hunt
2019-04-09  9:43 ` David Hunt
2019-04-18 14:55 ` Pattan, Reshma
2019-04-18 14:55   ` Pattan, Reshma
2019-04-22 20:57 ` Thomas Monjalon
2019-04-22 20:57   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).