K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-05-14T23:09:33.112118Z K 7 svn:log V 272 As the comment says, close() frees the variable, record. So we obtain the length by evaluating the value from the copy, cbuf instead. This fixes a crash caused by previous commit (use-after-free) Submitted by: Dimitry Andric Pointy hat to: delphij END