1b2c17d60d
In mrvl_create() allocated memory for 'mtr', we don't free it
when profile get fails and it will lead to memory leak.
We can get profile at the beginning of the function to
fix it, before calling mtr = rte_zmalloc_socket().
Fixes:
|
||
---|---|---|
.. | ||
meson.build | ||
mrvl_ethdev.c | ||
mrvl_ethdev.h | ||
mrvl_flow.c | ||
mrvl_flow.h | ||
mrvl_mtr.c | ||
mrvl_mtr.h | ||
mrvl_qos.c | ||
mrvl_qos.h | ||
mrvl_tm.c | ||
mrvl_tm.h | ||
version.map |