author | smatz |
Sun, 15 Jun 2008 13:52:51 +0000 | |
changeset 9524 | 8e5c07d4d646 |
parent 9523 | 8a60ed4426b7 |
child 9525 | dc9739a19016 |
src/gamelog.cpp | file | annotate | diff | comparison | revisions |
--- a/src/gamelog.cpp Sun Jun 15 02:48:25 2008 +0000 +++ b/src/gamelog.cpp Sun Jun 15 13:52:51 2008 +0000 @@ -754,6 +754,8 @@ la->change = ReallocT(la->change, la->changes + 1); LoggedChange *lc = &la->change[la->changes++]; + /* for SLE_STR, pointer has to be valid! so make it NULL */ + memset(lc, 0, sizeof(*lc)); lc->ct = ct; assert((uint)ct < GLCT_END);