From 7f6d045e2429e2bc1babf7fb9ef8082f0a7039ab Mon Sep 17 00:00:00 2001 From: panstromek Date: Thu, 6 May 2021 09:38:40 +0200 Subject: [PATCH] add todo in thor --- thordb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thordb.c b/thordb.c index 017d4ec..647cfdd 100644 --- a/thordb.c +++ b/thordb.c @@ -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) {