delete mInputStream; mInputStream = nsnull;
mInputStream->Close();
BookmarkParser::~BookmarkParser(){    if (mContents)    {        delete [] mContents;        mContents = nsnull;    }    if (mInputStream)    {        delete mInputStream;        mInputStream = nsnull;    }    BookmarkField   *field;    for (field = gBookmarkFieldTable; field->mName; ++field)    {        NS_IF_RELEASE(field->mProperty);    }    for (field = gBookmarkHeaderFieldTable; field->mName; ++field)    {        NS_IF_RELEASE(field->mProperty);    }    bm_ReleaseGlobals();}