Named registers were being double-initialized (small memory leak)
authorAri Johnson <ari@theari.com>
Tue, 26 Apr 2011 17:26:01 +0000 (13:26 -0400)
committerAri Johnson <ari@theari.com>
Tue, 26 Apr 2011 17:26:01 +0000 (13:26 -0400)
src/game.c

index ef31f49bb25b474428f5700b93f5f0c0cb9aa85f..c613171d8c0ecda75ef26a379b57971f816acca0 100644 (file)
@@ -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);