On 09/04, Ying Wang wrote:
[snip]
>+
>+static void
>+ice_free_switch_filter_rule(struct rte_flow *flow)
>+{
>+      struct ice_rule_query_data *filter_ptr;
>+
>+      filter_ptr = (struct ice_rule_query_data *)
>+              flow->rule;
>+
>+      rte_free(filter_ptr);

What about directly call rte_free(flow->rule); ?

Reply via email to