Bug#274925: Fix SVG attribute leaks. r=sicking, sr=jst. SVG only - not part of default builds.

This commit is contained in:
alex%croczilla.com 2005-01-20 12:19:16 +00:00
parent 6e1adab39b
commit 09b407c7c5

View File

@ -899,6 +899,13 @@ nsAttrValue::EnsureEmptyMiscContainer()
delete cont->mAtomArray;
break;
}
#ifdef MOZ_SVG
case eSVGValue:
{
NS_RELEASE(cont->mSVGValue);
break;
}
#endif
default:
{
break;