瀏覽代碼

dpkg-split: Fix a directory stream leak

Raphael Geissert 17 年之前
父節點
當前提交
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) {