Explorar o código

Merge "qcacmn: Fix invalid memory free"

Linux Build Service Account %!s(int64=7) %!d(string=hai) anos
pai
achega
5528adbcc6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      umac/regulatory/core/src/reg_services.c

+ 1 - 1
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);
 }