X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=python%2Fvduimpl.c;h=21918260c88193a03341337f861de71ba7cd291a;hb=e69eb09c11bcfb647c16b4534a4fcd89f909a565;hp=fb219ff0591af66abce66e6299b6ca04cd6af025;hpb=3d2b62598dab648014055b256e3cd22dc31fdaa0;p=util-vserver.git diff --git a/python/vduimpl.c b/python/vduimpl.c index fb219ff..2191826 100644 --- a/python/vduimpl.c +++ b/python/vduimpl.c @@ -549,6 +549,7 @@ do_vdu(PyObject *self, PyObject *args) cwd_fd = open(".", O_RDONLY); res = vdu_onedir(&tbl, &s, path); fchdir(cwd_fd); + close(cwd_fd); /* deallocate whatever has been added to tbl */ Dispose(&tbl);