Commit e62bc308 authored by Dong Anyuan's avatar Dong Anyuan

Fix Coverity Scan CID 341132 (Using freed pointer cell_report.)

parent 86d7a5cd
...@@ -550,7 +550,6 @@ error : ...@@ -550,7 +550,6 @@ error :
for (j = 0; j < report_config->nr_cc; j++) { for (j = 0; j < report_config->nr_cc; j++) {
if (cell_report[j] != NULL) { if (cell_report[j] != NULL) {
free(cell_report[j]); free(cell_report[j]);
cell_report[j] = NULL;
} }
} }
free(cell_report); free(cell_report);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment