]> git.droids-corp.org - dpdk.git/commit
event/cnxk: fix memory leaks
authorGowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Sat, 12 Feb 2022 12:39:47 +0000 (18:09 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 22 Feb 2022 09:49:48 +0000 (10:49 +0100)
commit315d14d7058e23d37dd198e9b3e766d43d7d0d4e
tree7a0eedb96078669fc353eb9771afa8f38265c2b6
parent894851527eb08c153b13e7385d02d138b57a6c43
event/cnxk: fix memory leaks

Fix memory leaks reported by coverity scan in
cnxk_tim_parse_clk_list()  and cnxk_tim_parse_ring_ctl_list()
functions on not freeing strduped memory.

Coverity issue: 374990 374991
Fixes: 8a3d58c189f ("event/cnxk: add option to control timer adapters")
Cc: stable@dpdk.org
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
drivers/event/cnxk/cnxk_tim_evdev.c