Просмотр исходного кода

dpkg-split: Fix a directory stream leak

Raphael Geissert лет назад: 16
Родитель
Сommit
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;
     queue= pq;
   }
+  closedir(depot);
 }
 
 static int partmatches(struct partinfo *pi, struct partinfo *refi) {