summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cite.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cite.cpp b/src/cite.cpp
index 53ab9b5..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());