Ooops. Be sure to call Flush() _before_ freeing the mURLSpec.

This commit is contained in:
waterson%netscape.com 1999-07-03 04:26:04 +00:00
parent 6e12231ccf
commit 4e06adac0c

View File

@ -473,10 +473,10 @@ RDFXMLDataSourceImpl::~RDFXMLDataSourceImpl(void)
rdf->UnregisterDataSource(this);
}
if (mURLSpec) PL_strfree(mURLSpec);
Flush();
if (mURLSpec) PL_strfree(mURLSpec);
while (mNameSpaces) {
NameSpaceMap* doomed = mNameSpaces;
mNameSpaces = mNameSpaces->Next;