Re: [PATCH v2] app/testpmd: fix releasing action handle flush memory

2024-04-18 Thread Ferruh Yigit
On 3/25/2024 10:58 AM, Bing Zhao wrote: > The memory of the indirect action handles should be freed after > being destroyed in the flush. The behavior needs to be consistent > with the single handle destroy port_action_handle_destroy(). > > Or else, there would be some memory leak when closing / d

[PATCH v2] app/testpmd: fix releasing action handle flush memory

2024-03-25 Thread Bing Zhao
The memory of the indirect action handles should be freed after being destroyed in the flush. The behavior needs to be consistent with the single handle destroy port_action_handle_destroy(). Or else, there would be some memory leak when closing / detaching a port without quitting the application.