*list = nsnull;
*list = 0;
wallet_Clear(nsVoidArray ** list) {  if (*list == wallet_SchemaToValue_list || *list == wallet_URL_list) {    /* the other lists were allocated in blocks and need to be deallocated the same way */    wallet_MapElement * mapElementPtr;    PRInt32 count = LIST_COUNT((*list));    for (PRInt32 i=count-1; i>=0; i--) {      mapElementPtr = NS_STATIC_CAST(wallet_MapElement*, (*list)->ElementAt(i));      delete mapElementPtr;    }  }  delete (*list);  *list = nsnull;}