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

* [dpdk-dev] [PATCH v1] examples/power: fix vm power manager resource leak
  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-22 20:57 ` Thomas Monjalon
  2 siblings, 0 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

* Re: [dpdk-dev] [PATCH v1] examples/power: fix vm power manager resource leak
  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
  2 siblings, 1 reply; 6+ messages in thread
From: Pattan, Reshma @ 2019-04-18 14:55 UTC (permalink / raw)
  To: Hunt, David, dev; +Cc: Hunt, David, stable



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Hunt
> Sent: Tuesday, April 9, 2019 10:43 AM
> To: dev@dpdk.org
> Cc: Hunt, David <david.hunt@intel.com>; stable@dpdk.org
> Subject: [dpdk-dev] [PATCH v1] examples/power: fix vm power manager
> resource leak
> 
> Fixes: 99a968fac0cf ("examples/vm_power: add core list parameter")
>     Coverity issue: 337674
> 
> Signed-off-by: David Hunt <david.hunt@intel.com>

is it a candidate for stable@dpdk.org?  

Other than that 

Acked-by: Reshma Pattan <reshma.pattan@intel.com>

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

* Re: [dpdk-dev] [PATCH v1] examples/power: fix vm power manager resource leak
  2019-04-18 14:55 ` Pattan, Reshma
@ 2019-04-18 14:55   ` Pattan, Reshma
  0 siblings, 0 replies; 6+ messages in thread
From: Pattan, Reshma @ 2019-04-18 14:55 UTC (permalink / raw)
  To: Hunt, David, dev; +Cc: Hunt, David, stable



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Hunt
> Sent: Tuesday, April 9, 2019 10:43 AM
> To: dev@dpdk.org
> Cc: Hunt, David <david.hunt@intel.com>; stable@dpdk.org
> Subject: [dpdk-dev] [PATCH v1] examples/power: fix vm power manager
> resource leak
> 
> Fixes: 99a968fac0cf ("examples/vm_power: add core list parameter")
>     Coverity issue: 337674
> 
> Signed-off-by: David Hunt <david.hunt@intel.com>

is it a candidate for stable@dpdk.org?  

Other than that 

Acked-by: Reshma Pattan <reshma.pattan@intel.com>

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

* Re: [dpdk-dev] [PATCH v1] examples/power: fix vm power manager resource leak
  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-22 20:57 ` Thomas Monjalon
  2019-04-22 20:57   ` Thomas Monjalon
  2 siblings, 1 reply; 6+ messages in thread
From: Thomas Monjalon @ 2019-04-22 20:57 UTC (permalink / raw)
  To: David Hunt; +Cc: dev, stable

09/04/2019 11:43, David Hunt:
> Fixes: 99a968fac0cf ("examples/vm_power: add core list parameter")
>     Coverity issue: 337674
> 
> Signed-off-by: David Hunt <david.hunt@intel.com>

Applied, thanks

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

* Re: [dpdk-dev] [PATCH v1] examples/power: fix vm power manager resource leak
  2019-04-22 20:57 ` Thomas Monjalon
@ 2019-04-22 20:57   ` Thomas Monjalon
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Monjalon @ 2019-04-22 20:57 UTC (permalink / raw)
  To: David Hunt; +Cc: dev, stable

09/04/2019 11:43, David Hunt:
> Fixes: 99a968fac0cf ("examples/vm_power: add core list parameter")
>     Coverity issue: 337674
> 
> Signed-off-by: David Hunt <david.hunt@intel.com>

Applied, thanks



^ 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).