SVN commit 497165 by cgilles:
digikam from trunk : fix unclosed file if dcraw parse method failed
CCMAIL:
[hidden email]
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;
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel