according to /sys/src/libbio/binit.c, Binit doesn't
allocate buffers (that's done by Bopen), and Bterm
for a Biobuf initialised to OREAD by Binit doesn't do much.

i'd still call Bterm though, especially in these days of cut and paste
--- Begin Message ---
> since you are just doing reads then no i don't believe
> the Bterm is necessary.

So will Binit properly reinitialize its argument, reusing the buffers
rather than allocating new ones and leaking the old?

--Joel

--- End Message ---

Reply via email to