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
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
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
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
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
> 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
> > 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")
>
7 matches
Mail list logo