[Digikam-devel] [Fwd: extragear/graphics/digikam/libs/dmetadata]

Johannes Wienke languitar at semipol.de
Sun Oct 4 11:42:52 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

With this checkin I can't build anymore. The unregister function is
unknown with my libkexiv version 0.6.0. The problem is, that removing
this version from my ubuntu box removes causes a lot of other packages
to be removed and I don't want to build the whole kde stuff on my own.

Is there any way to resolve this?

Johannes

- -------- Original-Nachricht --------
Betreff: extragear/graphics/digikam/libs/dmetadata
Datum: Sun, 04 Oct 2009 01:06:40 +0000
Von: Michael Jansen <kde at michael-jansen.biz>
Antwort an: kde-commits at kde.org
An: kde-commits at kde.org

SVN commit 1031114 by mjansen:

Fix memleak. Unregister namespace.

I'm pretty sure the design is suboptimal but this is the easiest fix. How
about (un)registering the namespace once for each app?

~ M  +1 -0      dmetadata.cpp


- --- trunk/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp
#1031113:1031114
@@ -70,6 +70,7 @@

~ DMetadata::~DMetadata()
~ {
+    unregisterXmpNameSpace(QString("http://ns.adobe.com/lightroom/1.0/"));
~ }

~ bool DMetadata::load(const QString& filePath) const
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrIfCsACgkQBFcR5UV/ccKzwwCdF1IfZDlZPM+M1I11J0fug4zd
J5AAniqWalvG2Zr3wbHyH7ACg+Xu5cAn
=IbnR
-----END PGP SIGNATURE-----



More information about the Digikam-devel mailing list