[Digikam-devel] branches/stable/extragear/graphics/digikam/libs/dcraw
Gilles Caulier
caulier.gilles at free.fr
Thu Jan 12 06:35:33 GMT 2006
SVN commit 497166 by cgilles:
digikam from stable : fix unclosed file if dcraw parse method failed
CCMAIL: digikam-devel at kde.org
M +2 -0 dcraw_parse.cpp
--- branches/stable/extragear/graphics/digikam/libs/dcraw/dcraw_parse.cpp #497165:497166
@@ -1189,6 +1189,7 @@
if (model[0] == 0)
{
+ fclose(ifp);
return 1;
}
@@ -1256,6 +1257,7 @@
parse_jpeg(0);
if (model[0] == 0) {
kdDebug() << "unsupported file format." << endl;
+ fclose(ifp);
return 1;
}
kdDebug() << "Findings for " << infile << ":" << endl;
More information about the Digikam-devel
mailing list