Przeglądaj źródła

Ensure dirhandle is closed (Duncan Ferguson)

Ton Voon 16 lat temu
rodzic
commit
bbadda8979
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      plugins-root/pst3.c

+ 2 - 0
plugins-root/pst3.c

@@ -234,6 +234,8 @@ try_again:
     printf("\n");
   }
 
+  (void) closedir(procdir);
+
   return (0);
 }