Code

Ensure dirhandle is closed (Duncan Ferguson)
authorTon Voon <ton.voon@opsera.com>
Mon, 14 Sep 2009 10:22:13 +0000 (11:22 +0100)
committerTon Voon <ton.voon@opsera.com>
Mon, 14 Sep 2009 10:22:13 +0000 (11:22 +0100)
plugins-root/pst3.c

index 7586d5f39721c3059b3d84f778244b7c22528931..7852aa1cbb011a7fe6a51d7c2b19012344eef281 100644 (file)
@@ -234,6 +234,8 @@ try_again:
     printf("\n");
   }
 
+  (void) closedir(procdir);
+
   return (0);
 }