Skip to content

Commit c0e7b28

Browse files
committed
Fix a leak with serverLink
1 parent 76122c3 commit c0e7b28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bzflag/playing.cxx

+1
Original file line numberDiff line numberDiff line change
@@ -5482,6 +5482,7 @@ static void joinInternetGame()
54825482
numRobots = 0;
54835483
#endif
54845484

5485+
delete serverLink;
54855486
serverLink = _serverLink;
54865487

54875488
// assume everything's okay for now

0 commit comments

Comments
 (0)