Skip to content
Permalink
Browse files

Fix memory leak in cg_rocket_datasource.cpp

Fix issue #1148
  • Loading branch information
Dimitriio authored and slipher committed Jan 7, 2020
1 parent 5198bac commit 1c425eb050753916e513073c0fe024a91a37dcb2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cgame/cg_rocket_datasource.cpp
@@ -437,8 +437,8 @@ void CG_Rocket_CleanUpServerList( const char *table )
BG_Free( rocketInfo.data.servers[ i ][ j ].label );
BG_Free( rocketInfo.data.servers[ i ][ j ].addr );
BG_Free( rocketInfo.data.servers[ i ][ j ].mapName );
rocketInfo.data.serverCount[ i ] = 0;
}
rocketInfo.data.serverCount[ i ] = 0;
}
}
}

0 comments on commit 1c425eb

Please sign in to comment.
You can’t perform that action at this time.