Procházet zdrojové kódy

Merge "qcacmn: Fix invalid memory free"

Linux Build Service Account před 7 roky
rodič
revize
5528adbcc6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
 }