Kaydet (Commit) c7631f94 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity#705697: fix memory leak

Change-Id: I637d21b0f94ecb036ca4887bb2a36649f907d9e9
üst 7b627e46
......@@ -251,10 +251,10 @@ int AnimationImporter::import( const Reference< XDrawPage >& xPage, const DffRec
{
Reference< XAnimationNode > xParent;
const Atom* pAtom = Atom::import( rProgTagContentHd, mrStCtrl );
boost::scoped_ptr<Atom> pAtom(Atom::import( rProgTagContentHd, mrStCtrl ));
if( pAtom )
{
nNodes = importAnimationContainer( pAtom, xParent );
nNodes = importAnimationContainer( pAtom.get(), xParent );
}
processAfterEffectNodes();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment