X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6cc9e85e73ff6f6c67ae6e645d184bbf57ecc2f0..3b640c422bd716ab7246d72b1ea3b35dff533e29:/uip/fmttest.c diff --git a/uip/fmttest.c b/uip/fmttest.c index 42060884..a7742bd1 100644 --- a/uip/fmttest.c +++ b/uip/fmttest.c @@ -1338,8 +1338,8 @@ mlistfree(void) { struct mailname *mp, *mp2; - for (mp = mq.m_next; mp; mp = mp2->m_next) { - mp2 = mp; + for (mp = mq.m_next; mp; mp = mp2) { + mp2 = mp->m_next; mnfree(mp); } }