changing free to d_free
This commit is contained in:
parent
7703e2b167
commit
0b52731342
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue