浏览代码

Merge "qcacmn: Fix invalid memory free"

Linux Build Service Account 7 年之前
父节点
当前提交
5528adbcc6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 }