]> git.saurik.com Git - apt.git/blobdiff - ftparchive/multicompress.h
fix memory leaks reported by -fsanitize
[apt.git] / ftparchive / multicompress.h
index ddd1815a3bccb235211c5d37546d0cee4aae6c42..161716b866de76c1476ea443c8eacf0a6bdda2c4 100644 (file)
@@ -48,7 +48,7 @@ class MultiCompress
    public:
    
    // The FD to write to for compression.
-   FILE *Input;
+   FileFd Input;
    unsigned long UpdateMTime;
    
    bool Finalize(unsigned long long &OutSize);