commit | deb8e42067fb3e2f1f9684d441bc0077340e8256 | [log] [tgz] |
---|---|---|
author | b.liu <b.liu@mobiletek.cn> | Sat Dec 14 17:36:56 2024 +0800 |
committer | b.liu <b.liu@mobiletek.cn> | Sat Dec 14 17:36:56 2024 +0800 |
tree | 0b134faf4eb6edeb5e71d9948c950d5c63c18aca | |
parent | ad8c8173ee071aa95ac57475600d671a840d205c [diff] [blame] |
兼容 asr1903 Change-Id: I3888f1adc86ea1fa73af4996d31f40223c0e5735
diff --git a/mbtk/mbtk_logd/main.c b/mbtk/mbtk_logd/main.c index 4cd4888..d2ba2b8 100755 --- a/mbtk/mbtk_logd/main.c +++ b/mbtk/mbtk_logd/main.c
@@ -100,8 +100,9 @@ if (_filter_list->tag && _filter_list->tag[0] != '\0') { free(_filter_list->tag); } - free(_filter_list); + struct filter_list_t* tmp_filter_list = _filter_list; _filter_list = _filter_list->next; + free(tmp_filter_list); } else { break; }