projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e368a56
)
Named registers were being double-initialized (small memory leak)
author
Ari Johnson
<ari@theari.com>
Tue, 26 Apr 2011 17:26:01 +0000
(13:26 -0400)
committer
Ari Johnson
<ari@theari.com>
Tue, 26 Apr 2011 17:26:01 +0000
(13:26 -0400)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index ef31f49bb25b474428f5700b93f5f0c0cb9aa85f..c613171d8c0ecda75ef26a379b57971f816acca0 100644
(file)
--- 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);