New Defects reported by Coverity Scan for digiKam

scan-admin at coverity.com scan-admin at coverity.com
Fri Sep 5 12:11:14 BST 2025


Hi,

Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan.

2 new defect(s) introduced to digiKam found with Coverity Scan.
213 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)


** CID 1665242:       Resource leaks  (RESOURCE_LEAK)
/home/gilles/devel/8.x/core/utilities/geolocation/engine/osm/MarbleZip.cpp: 1348           in Marble::MarbleZipWriter::MarbleZipWriter(const QString &, QFlags<QIODeviceBase::OpenModeFlag>)()


_____________________________________________________________________________________________
*** CID 1665242:         Resource leaks  (RESOURCE_LEAK)
/home/gilles/devel/8.x/core/utilities/geolocation/engine/osm/MarbleZip.cpp: 1348             in Marble::MarbleZipWriter::MarbleZipWriter(const QString &, QFlags<QIODeviceBase::OpenModeFlag>)()
1342             {
1343                 status = MarbleZipWriter::FileError;
1344             }
1345         }
1346     
1347         d = new MarbleZipWriterPrivate(f.get(), /*ownDevice=*/true);
>>>     CID 1665242:         Resource leaks  (RESOURCE_LEAK)
>>>     Ignoring storage allocated by "f.release()" leaks it.
1348         f.release();
1349         d->status = status;
1350     }
1351     
1352     /*!
1353         Create a new zip archive that operates on the archive found in \a device.

** CID 1665241:       Resource leaks  (RESOURCE_LEAK)
/home/gilles/devel/8.x/core/utilities/geolocation/engine/osm/MarbleZip.cpp: 973           in Marble::MarbleZipReader::MarbleZipReader(const QString &, QFlags<QIODeviceBase::OpenModeFlag>)()


_____________________________________________________________________________________________
*** CID 1665241:         Resource leaks  (RESOURCE_LEAK)
/home/gilles/devel/8.x/core/utilities/geolocation/engine/osm/MarbleZip.cpp: 973             in Marble::MarbleZipReader::MarbleZipReader(const QString &, QFlags<QIODeviceBase::OpenModeFlag>)()
967             {
968                 status = FileError;
969             }
970         }
971     
972         d = new MarbleZipReaderPrivate(f.get(), /*ownDevice=*/true);
>>>     CID 1665241:         Resource leaks  (RESOURCE_LEAK)
>>>     Ignoring storage allocated by "f.release()" leaks it.
973         f.release();
974         d->status = status;
975     }
976     
977     /*!
978         Create a new zip archive that operates on the archive found in \a device.


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/digikam?tab=overview

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20250905/1e57eeec/attachment.htm>


More information about the Digikam-devel mailing list