Re: [PATCH v5 2/2] net/mlx5: Fix memory leak in error path of ttc creation

From: henry martin
Date: Wed Apr 16 2025 - 02:50:58 EST


> What about just moving the ttc allocation after the switch case?

Thanks for the suggestion. Moving the allocation after the switch statement is
indeed a cleaner approach.