[Digikam-devel] extragear/graphics/digikam/libs/dcraw
Gilles Caulier
caulier.gilles at free.fr
Thu Jan 12 06:35:16 GMT 2006
SVN commit 497165 by cgilles:
digikam from trunk : fix unclosed file if dcraw parse method failed
CCMAIL: digikam-devel at kde.org
M +2 -0 dcraw_parse.cpp
--- trunk/extragear/graphics/digikam/libs/dcraw/dcraw_parse.cpp #497164:497165
@@ -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