oops didnt close dir fd

This commit is contained in:
Axel Kittenberger 2010-11-20 22:54:20 +00:00
parent 338dac95b4
commit 7105dc8d8b

View File

@ -957,6 +957,7 @@ l_readdir (lua_State *L)
lua_pushboolean(L, isdir); lua_pushboolean(L, isdir);
lua_settable(L, -3); lua_settable(L, -3);
} }
closedir(d);
return 1; return 1;
} }