• use a stack allocated buffer — this avoids worrying over malloc() failing and freeing the buffer again (which wasn’t done) • use do { … } while(…); to avoid duplicated code Changed: U trunk/Review/Tools/tmread/src/buffer.c