We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caaad66 commit 50ae7d4Copy full SHA for 50ae7d4
thordb.c
@@ -2031,7 +2031,7 @@ database_search( int *in_board,
2031
2032
if ( thor_search.allocation == 0 ) {
2033
thor_search.match_list =
2034
- (GameType **) safe_malloc( thor_game_count * sizeof( GameType * ) );
+ (GameType **) safe_malloc( thor_game_count * sizeof( GameType * ) ); // TODO this memory is leaked somewhere
2035
thor_search.allocation = thor_game_count;
2036
}
2037
else if ( thor_search.allocation < thor_game_count) {
0 commit comments