summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-03-13 12:41:53 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-03-13 12:42:33 -0400
commit4bfa007ec0837d8164f7e70c6158862e6f8a9b4c (patch)
treefad610be46559b977d8778a2b4609d74df9fdf8e
parentd5954758d573f7ba45e3ac1ea6541e1401e61601 (diff)
bugfix: efm_op no longer tries to close invalid fds during delete ops
CID 1132741
-rw-r--r--src/bin/e_fm_op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_fm_op.c b/src/bin/e_fm_op.c
index f7fd78b60..7e1bc3be5 100644
--- a/src/bin/e_fm_op.c
+++ b/src/bin/e_fm_op.c
@@ -1796,7 +1796,7 @@ _e_fm_op_destroy_atom(E_Fm_Op_Task *task)
1796 return 1; 1796 return 1;
1797 1797
1798finish: 1798finish:
1799 close(fd); 1799 if (fd != -1) close(fd);
1800 fd = -1; 1800 fd = -1;
1801 E_FREE(buf); 1801 E_FREE(buf);
1802 task->finished = 1; 1802 task->finished = 1;