minor changes
This commit is contained in:
parent
80a7549cba
commit
6a24d82be7
|
@ -152,9 +152,9 @@ static int32_t sdbReadDataFile() {
|
||||||
code = 0;
|
code = 0;
|
||||||
|
|
||||||
PARSE_SDB_DATA_ERROR:
|
PARSE_SDB_DATA_ERROR:
|
||||||
tfree(line);
|
if (line) free(line);
|
||||||
fclose(fp);
|
if (fp) fclose(fp);
|
||||||
cJSON_Delete(root);
|
if (root) cJSON_Delete(root);
|
||||||
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue