To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=94047 Issue #|94047 Summary|unoxml: leak in DOM::CElement::getAttributeNS Component|framework Version|DEV300m30 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|mba Reported by|cmc
------- Additional comments from [EMAIL PROTECTED] Thu Sep 18 15:17:28 +0000 2008 ------- i.e. http://xmlsoft.org/html/libxml-tree.html#xmlGetNsProp "the attribute value or NULL if not found. It's up to the caller to free the memory with xmlFree()." Patch attached, valgrind log is... ==6540== 28 bytes in 4 blocks are definitely lost in loss record 26 of 281 ==6540== at 0x4A0739E: malloc (vg_replace_malloc.c:207) ==6540== by 0x3A414AD42F: xmlStrndup (in /usr/lib64/libxml2.so.2.7.1) ==6540== by 0x1CECE93D: DOM::CElement::getAttributeNS(rtl::OUString const&, rtl::OUString const&) (element.cxx:173) ==6540== by 0x5F00222: (anonymous namespace)::SfxDocumentMetaData::init(com::sun::star::uno::Reference<com::sun::star::xml::dom::XDocument>) (SfxDocumentMetaData.cxx:1235) ==6540== by 0x5F05A5F: (anonymous namespace)::SfxDocumentMetaData::createClone() (SfxDocumentMetaData.cxx:2144) ==6540== by 0x5E5F08E: SfxDocumentInfoObject::createClone() (objuno.cxx:472) ==6540== by 0x5EDBBE8: SfxBaseModel::impl_store(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, unsigned char) (sfxbasemodel.cxx:2639) ==6540== by 0x5EDCF27: SfxBaseModel::storeToURL(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) (sfxbasemodel.cxx:1608) ==6540== by 0x16CD6054: (within /usr/lib64/openoffice.org/basis3.0/program/libfwklx.so) ==6540== by 0x16CD71E6: (within /usr/lib64/openoffice.org/basis3.0/program/libfwklx.so) ==6540== by 0x16CD7A09: (within /usr/lib64/openoffice.org/basis3.0/program/libfwklx.so) ==6540== by 0x79B6E92: Timer::ImplTimerCallbackProc() (timer.cxx:150) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
