mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kutils: plug KExiv2 memory leaks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b8b37e01a3
commit
bb9979b108
2 changed files with 6 additions and 0 deletions
|
@ -102,6 +102,11 @@ KExiv2::KExiv2(const QString &path)
|
|||
{
|
||||
}
|
||||
|
||||
KExiv2::~KExiv2()
|
||||
{
|
||||
delete d;
|
||||
}
|
||||
|
||||
bool KExiv2::isSupported()
|
||||
{
|
||||
#if defined(HAVE_EXIV2)
|
||||
|
|
|
@ -58,6 +58,7 @@ public:
|
|||
@brief Contructs object from @p path
|
||||
*/
|
||||
KExiv2(const QString &path);
|
||||
~KExiv2();
|
||||
|
||||
static bool isSupported();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue