diff --git a/umac/regulatory/core/src/reg_services.c b/umac/regulatory/core/src/reg_services.c index 4109f697effb..8a8625edcfd4 100644 --- a/umac/regulatory/core/src/reg_services.c +++ b/umac/regulatory/core/src/reg_services.c @@ -2210,7 +2210,7 @@ skip_ch_avoid_ind: cbk_list[ctr].arg); } qdf_mem_free(cur_chan_list); - if (!avoid_freq_ind) + if (avoid_freq_ind) qdf_mem_free(avoid_freq_ind); }