nsresult res = NS_OK; res = nsComponentManager::FreeLibraries();
int main(int argc, char** argv) {      nsresult rv = NS_InitXPCOM2(nsnull, nsnull, nsnull);   if (NS_FAILED(rv)) {      printf("NS_InitXPCOM2 failed\n");      return 1;   }   // --------------------------------------------   TestCaseConversion();   // --------------------------------------------   TestEntityConversion(nsIEntityConverter::html40);   // --------------------------------------------   TestSaveAsCharset();   // --------------------------------------------   TestNormalization();   // --------------------------------------------   printf("Finish All The Test Cases\n");   nsresult res = NS_OK;   res = nsComponentManager::FreeLibraries();   if(NS_FAILED(res))      printf("nsComponentManager failed\n");   else      printf("nsComponentManager FreeLibraries Done\n");   return 0;}