if ( mTopic ) { DdeFreeStringHandle( mInstance, mTopic ); mTopic = 0;
for ( int i = 0; i < topicCount; i++ ) { if ( mTopics[i] ) { DdeFreeStringHandle( mInstance, mTopics[i] ); mTopics[i] = 0; }
nsNativeAppSupportWin::Quit() {    if ( mInstance ) {        // Unregister application name.        DdeNameService( mInstance, mApplication, 0, DNS_UNREGISTER );        // Clean up strings.        if ( mApplication ) {            DdeFreeStringHandle( mInstance, mApplication );            mApplication = 0;        }        if ( mTopic ) {            DdeFreeStringHandle( mInstance, mTopic );            mTopic = 0;        }        DdeUninitialize( mInstance );        mInstance = 0;    }    return NS_OK;}