Close curdir in vsysctl
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 25 Sep 2012 16:59:11 +0000 (18:59 +0200)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 25 Sep 2012 16:59:11 +0000 (18:59 +0200)
src/vsysctl.c

index c5bca13..edf8928 100644 (file)
@@ -175,6 +175,7 @@ int main(int argc, char *argv[])
     }
 
     Efchdir(curdir);
+    close(curdir);
   }
 
 exec: