]> git.saurik.com Git - apt.git/blobdiff - ftparchive/cachedb.cc
fix memory leaks reported by -fsanitize
[apt.git] / ftparchive / cachedb.cc
index cc3527ea40fa68c575a989dbfea11fb394dbf75d..ce6c865f334f9a9613717edebce81cf99891a4f1 100644 (file)
@@ -45,6 +45,7 @@ CacheDB::~CacheDB()
 {
    ReadyDB();
    delete DebFile;
+   CloseFile();
 }
 
 // CacheDB::ReadyDB - Ready the DB2                                    /*{{{*/