Explorar o código

dpkg-split: Fix a directory stream leak

Raphael Geissert %!s(int64=16) %!d(string=hai) anos
pai
achega
3c9e99bee2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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) {