Skip to content

Commit

Permalink
add todo in thor
Browse files Browse the repository at this point in the history
  • Loading branch information
panstromek committed Feb 20, 2022
1 parent 95bca20 commit 7f6d045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thordb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2031,7 +2031,7 @@ database_search( int *in_board,

if ( thor_search.allocation == 0 ) {
thor_search.match_list =
(GameType **) safe_malloc( thor_game_count * sizeof( GameType * ) );
(GameType **) safe_malloc( thor_game_count * sizeof( GameType * ) ); // TODO this memory is leaked somewhere
thor_search.allocation = thor_game_count;
}
else if ( thor_search.allocation < thor_game_count) {
Expand Down

0 comments on commit 7f6d045

Please sign in to comment.