bugfix: efm_op no longer tries to close invalid fds during delete ops

CID 1132741
This commit is contained in:
Mike Blumenkrantz 2014-03-13 12:41:53 -04:00
parent 4b3e2797a0
commit 01abad3f64
1 changed files with 1 additions and 1 deletions

View File

@ -1796,7 +1796,7 @@ _e_fm_op_destroy_atom(E_Fm_Op_Task *task)
return 1;
finish:
close(fd);
if (fd != -1) close(fd);
fd = -1;
E_FREE(buf);
task->finished = 1;