Skip to content

Commit 0736ae1

Browse files
committed
playing.cxx: if you malloc then free
1 parent 7008203 commit 0736ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bzflag/playing.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ void joinGame()
526526
}
527527
if (worldDatabase)
528528
{
529-
delete[] worldDatabase;
529+
free(worldDatabase);
530530
worldDatabase = NULL;
531531
}
532532
HUDDialogStack::get()->setFailedMessage("Download stopped by user action");

0 commit comments

Comments
 (0)