Fix mingw bug with free macro
This commit is contained in:
parent
3f5d7aa8d8
commit
486142cd87
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ global void CleanPlayers(void)
|
|||
//
|
||||
if( (ptr=RaceWcNames) ) { // Free all old names
|
||||
while( *ptr ) {
|
||||
free(*ptr++);
|
||||
free(*ptr);
|
||||
ptr++;
|
||||
}
|
||||
free(RaceWcNames);
|
||||
RaceWcNames=NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue