From: Ari Johnson Date: Tue, 26 Apr 2011 17:26:01 +0000 (-0400) Subject: Named registers were being double-initialized (small memory leak) X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=2ce1593d5e383aae15b05b1fa5d401b3d49fc54a;p=cobramush.git Named registers were being double-initialized (small memory leak) --- diff --git a/src/game.c b/src/game.c index ef31f49..c613171 100644 --- a/src/game.c +++ b/src/game.c @@ -779,8 +779,6 @@ init_game_config(const char *conf) global_eval_context.renv[a][0] = '\0'; global_eval_context.rnxt[a] = NULL; } - init_namedregs(&global_eval_context.namedregs); - init_namedregs(&global_eval_context.namedregsnxt); /* set MUSH start time */ globals.start_time = time((time_t *) 0);