Skip to content

Commit

Permalink
Fix memory leak in cg_rocket_datasource.cpp
Browse files Browse the repository at this point in the history
Fix issue #1148
  • Loading branch information
Dimitriio authored and slipher committed Jan 7, 2020
1 parent 5198bac commit 1c425eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cgame/cg_rocket_datasource.cpp
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit 1c425eb

Please sign in to comment.