ReFix Coverity Scan CID 341066 (Using freed pointer ue_report.)
This commit is contained in:
@@ -540,7 +540,6 @@ error :
|
|||||||
for (j = 0; j < report_config->nr_ue; j++) {
|
for (j = 0; j < report_config->nr_ue; j++) {
|
||||||
if (ue_report[j] != NULL) {
|
if (ue_report[j] != NULL) {
|
||||||
free(ue_report[j]);
|
free(ue_report[j]);
|
||||||
ue_report[j] = NULL;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free(ue_report);
|
free(ue_report);
|
||||||
|
|||||||
Reference in New Issue
Block a user