Skip to content

Commit 50ae7d4

Browse files
committed
add todo in thor
1 parent caaad66 commit 50ae7d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thordb.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2031,7 +2031,7 @@ database_search( int *in_board,
20312031

20322032
if ( thor_search.allocation == 0 ) {
20332033
thor_search.match_list =
2034-
(GameType **) safe_malloc( thor_game_count * sizeof( GameType * ) );
2034+
(GameType **) safe_malloc( thor_game_count * sizeof( GameType * ) ); // TODO this memory is leaked somewhere
20352035
thor_search.allocation = thor_game_count;
20362036
}
20372037
else if ( thor_search.allocation < thor_game_count) {

0 commit comments

Comments
 (0)