Kaynağa Gözat

dpkg-split: Fix a directory stream leak

Raphael Geissert 16 yıl önce
ebeveyn
işleme
3c9e99bee2
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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) {