Przeglądaj źródła

dpkg-split: Fix a directory stream leak

Raphael Geissert 16 lat temu
rodzic
commit
3c9e99bee2
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      dpkg-split/queue.c

+ 1 - 0
dpkg-split/queue.c

@@ -92,6 +92,7 @@ void scandepot(void) {
     pq->nextinqueue= queue;
     queue= pq;
   }
+  closedir(depot);
 }
 
 static int partmatches(struct partinfo *pi, struct partinfo *refi) {