i = -1;
cookie_RemoveAllCookies() {  cookie_CookieStruct * victim;  /* check for NULL or empty list */  cookie_LockCookieList();  if (cookie_cookieList == nsnull) {    cookie_UnlockCookieList();    return;  }  PRInt32 count = cookie_cookieList->Count();  for (PRInt32 i = 0; i < count; ++i) {    victim = NS_STATIC_CAST(cookie_CookieStruct*, cookie_cookieList->ElementAt(i));    if (victim) {      cookie_FreeCookie(victim);	  i = -1;    }  }  delete cookie_cookieList;  cookie_cookieList = NULL;  cookie_UnlockCookieList();}