forked from enlightenment/efl
If we open a file for copying, then we should also Close that file
when the copy is done. NB: Fixes Coverity CID1039181 Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
a8bb3ec5ce
commit
2aa12782b6
|
@ -570,6 +570,7 @@ eina_file_copy(const char *src, const char *dst, Eina_File_Copy_Flags flags, Ein
|
||||||
}
|
}
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
close(d);
|
||||||
close(s);
|
close(s);
|
||||||
|
|
||||||
if (!success)
|
if (!success)
|
||||||
|
|
Loading…
Reference in New Issue