Преглед изворни кода

dpkg-split: Fix a directory stream leak

Raphael Geissert пре 16 година
родитељ
комит
3c9e99bee2
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      dpkg-split/queue.c

+ 1 - 0
dpkg-split/queue.c

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