diff options
-rw-r--r-- | libgame/game-game.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgame/game-game.c b/libgame/game-game.c index f534822..74be247 100644 --- a/libgame/game-game.c +++ b/libgame/game-game.c @@ -349,7 +349,7 @@ game_game_set_match (GameGame *game, GameMatch *match) g_rand_set_seed (game->rand, game->seed); g_assert (game->resources == NULL); game->resources = g_hash_table_new_full (g_str_hash, g_str_equal, - g_free, (GDestroyNotify) g_mapped_file_free); + g_free, (GDestroyNotify) g_mapped_file_unref); game->match = match; g_object_set (game->players, "container", match, NULL); REPLAY_DEBUG_PRINT (game, "<<< EMIT START-GAME >>>\n"); |