OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62ef5ee
)
モンスターソート用に確保した配列を開放していず、メモリリークしていたのを修正。
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 2 Sep 2002 23:10:45 +0000
(23:10 +0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 2 Sep 2002 23:10:45 +0000
(23:10 +0000)
src/init2.c
patch
|
blob
|
history
diff --git
a/src/init2.c
b/src/init2.c
index
713f68d
..
f2126a8
100644
(file)
--- a/
src/init2.c
+++ b/
src/init2.c
@@
-1765,6
+1765,9
@@
static errr init_alloc(void)
}
}
+ /* Free the "r_info" array */
+ C_KILL(elements, max_r_idx, tag_type);
+
#else /* SORT_R_INFO */
int j;