diff options
Diffstat (limited to 'src/cite.cpp')
-rw-r--r-- | src/cite.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cite.cpp b/src/cite.cpp index 3e3eb43..a3056ba 100644 --- a/src/cite.cpp +++ b/src/cite.cpp @@ -239,6 +239,7 @@ void CiteDict::generatePage() const QFileInfo fi(citeListFile); QCString input(fi.size()+1); f.readBlock(input.data(),fi.size()); + f.close(); input.at(fi.size())='\0'; int p=0,s; //printf("input=[%s]\n",input.data()); @@ -310,7 +311,7 @@ void CiteDict::generatePage() const thisDir.remove(bib2xhtmlFile); while (!tempFiles.isEmpty()) { - QCString *s=tempFiles.take(); + QCString *s=tempFiles.take(0); thisDir.remove(*s); } } |