summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-06-19 09:05:43 +0000
committerroot <root>2008-06-19 09:05:43 +0000
commit9917cacc133657ada4e8ce171bdc86e2cdfeb19a (patch)
tree450a334576d0158a9b14fb5b8d0b8f3be169917c
parenta0a1d0aefed211583ad2c48c82b018b5342b2f7a (diff)
*** empty log message ***rel-3_05
-rw-r--r--eio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eio.c b/eio.c
index aadd59a..45f86ae 100644
--- a/eio.c
+++ b/eio.c
@@ -905,6 +905,7 @@ eio__scandir (eio_req *req, etp_worker *self)
int res = 0;
X_LOCK (wrklock);
+ /* the corresponding closedir is in ETP_WORKER_CLEAR */
self->dirp = dirp = opendir (req->ptr1);
req->flags |= EIO_FLAG_PTR2_FREE;
req->ptr2 = names = malloc (memlen);