mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
Ooops. Be sure to call Flush() _before_ freeing the mURLSpec.
This commit is contained in:
parent
6e12231ccf
commit
4e06adac0c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user