ref: refs/heads/ma-tmp-pqt
commit ae66f23697a504cf9da6b5ef831575995217d777
Author: Michael Andres
Date: Tue Apr 14 16:22:26 2009 +0200
memleak partial fix
---
zypp/sat/LookupAttr.cc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/zypp/sat/LookupAttr.cc b/zypp/sat/LookupAttr.cc
index 8e85839..d942487 100644
--- a/zypp/sat/LookupAttr.cc
+++ b/zypp/sat/LookupAttr.cc
@@ -625,6 +625,9 @@ namespace zypp
{
if ( _dip && ! ::dataiterator_step( _dip.get() ) )
{
+#warning MEMLEAK - DATAITERATOR FREE NEEDS TO BE EXTENDED - DTOR ASSIGN
+ if ( _dip )
+ ::dataiterator_free( _dip.get() );
_dip.reset();
base_reference() = 0;
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org