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

Michael G. Hansen mike at mghansen.de
Sun Oct 4 10:48:28 BST 2009


This commit broke compilation for me. KDE 4.3.1, Qt 4.5.2, gcc-4.3.4.

Michael Hansen


Michael Jansen wrote:
> 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/ #1031113:1031114
> @@ -70,6 +70,7 @@
>  
>  DMetadata::~DMetadata()
>  {
> +    unregisterXmpNameSpace(QString("http://ns.adobe.com/lightroom/1.0/"));
>  }
>  
>  bool DMetadata::load(const QString& filePath) const
> 





More information about the Digikam-devel mailing list