changing free to d_free

This commit is contained in:
zicodxx 2007-08-09 14:54:07 +00:00
parent 7703e2b167
commit 0b52731342

View file

@ -3592,7 +3592,7 @@ void change_playernum_to( int new_Player_num )
MALLOC(buf,char,CALLSIGN_LEN+1);
memcpy( buf, Players[Player_num].callsign, CALLSIGN_LEN+1 );
strcpy(Players[new_Player_num].callsign,buf);
free(buf);
d_free(buf);
}
Player_num = new_Player_num;