[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] NA
[Request] NA
[Occurrence Version] NA
[Problem] file was not closed for failure case
[Cause & Measure] close the file.
[Checking Method] NA
[Team] system framework
[Developer] Jiban Prakash
[Solution company] Samsung
[Change Type] Change
Change-Id: I7b00e9f53f18944a8e9f562d6aa41bcdbc3f2e33
Signed-off-by: “JIBAN <p.jiban@samsung.com>
sfp = fopen("strs", "w");
if (!sfp) {
perror("Could not open strings file");
+ fclose(dfp);
return -1;
}