Fix Coverity Scan CID 341132 (Using freed pointer cell_report.)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user