[dpdk-dev] [PATCH] eal: fix resource leak

2017-09-19 Thread Daniel Mrzyglod
Memory allocated in strdup is not free. Coverity issue: 143257 Fixes: d8a2bc71dfc2 ("log: remove app path from syslog id") Cc: tho...@monjalon.net Signed-off-by: Daniel Mrzyglod --- lib/librte_eal/linuxapp/eal/eal.c | 16 1 file changed, 16 insertions(+) diff --git a/lib/librt

[dpdk-dev] [PATCH] eal: Fix resource leak of pci_uio_map_secondary()

2016-06-16 Thread Tetsuya Mukawa
On 2016/06/15 23:45, David Marchand wrote: > Hello Tetsuya, > > On Wed, Jun 15, 2016 at 5:26 AM, Tetsuya Mukawa wrote: >> If pci_map_resource() succeeds but mapped address is different from an >> address primary process mapped, this should be error. >> Then the address secondary process mapped sh

[dpdk-dev] [PATCH] eal: Fix resource leak of pci_uio_map_secondary()

2016-06-15 Thread David Marchand
Hello Tetsuya, On Wed, Jun 15, 2016 at 5:26 AM, Tetsuya Mukawa wrote: > If pci_map_resource() succeeds but mapped address is different from an > address primary process mapped, this should be error. > Then the address secondary process mapped should be freed. > > Signed-off-by: Tetsuya Mukawa T

[dpdk-dev] [PATCH] eal: Fix resource leak of pci_uio_map_secondary()

2016-06-15 Thread Tetsuya Mukawa
If pci_map_resource() succeeds but mapped address is different from an address primary process mapped, this should be error. Then the address secondary process mapped should be freed. Signed-off-by: Tetsuya Mukawa --- lib/librte_eal/common/eal_common_pci_uio.c | 3 +++ 1 file changed, 3 insertio

[dpdk-dev] [PATCH] eal: fix resource leak

2016-04-11 Thread Daniel Mrzyglod
CID 13289 (#1-2 of 2): Resource leak (RESOURCE_LEAK): The system resource will not be reclaimed and reused, reducing the future availability of the resource. In pci_vfio_get_group_fd: Leak of memory or pointers to system resources Fixes: ff0b67d1c868 ("vfio: DMA mapping") Signed-off-by: Daniel M

[dpdk-dev] [PATCH] eal: fix resource leak

2016-04-11 Thread Burakov, Anatoly
> Subject: [PATCH] eal: fix resource leak > > CID 13289 (#1-2 of 2): Resource leak (RESOURCE_LEAK): > The system resource will not be reclaimed and reused, reducing the future > availability of the resource. > In pci_vfio_get_group_fd: Leak of memory or pointers to system resources > > Fixes: ff0

[dpdk-dev] [PATCH] eal: fix resource leak

2016-04-11 Thread Thomas Monjalon
> > CID 13289 (#1-2 of 2): Resource leak (RESOURCE_LEAK): > > The system resource will not be reclaimed and reused, reducing the future > > availability of the resource. > > In pci_vfio_get_group_fd: Leak of memory or pointers to system resources > > > > Fixes: ff0b67d1c868 ("vfio: DMA mapping") >