[poppler] poppler/qt: poppler-document.cc,1.12.2.1,1.12.2.2
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu Dec 28 09:18:41 PST 2006
Update of /cvs/poppler/poppler/qt
In directory kemper:/tmp/cvs-serv3407/qt
Modified Files:
Tag: POPPLER_0_5_X
poppler-document.cc
Log Message:
fix delete -> delete[] i just introduced to fix a leak
Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt/poppler-document.cc,v
retrieving revision 1.12.2.1
retrieving revision 1.12.2.2
diff -u -d -r1.12.2.1 -r1.12.2.2
--- poppler-document.cc 28 Dec 2006 16:56:26 -0000 1.12.2.1
+++ poppler-document.cc 28 Dec 2006 17:18:39 -0000 1.12.2.2
@@ -233,7 +233,7 @@
else {
obj.free();
info.free();
- delete aux;
+ delete[] aux;
return QDateTime();
}
}
@@ -243,11 +243,11 @@
if ( d.isValid() && t.isValid() ) {
obj.free();
info.free();
- delete aux;
+ delete[] aux;
return QDateTime( d, t );
}
}
- delete aux;
+ delete[] aux;
}
obj.free();
info.free();
More information about the poppler
mailing list