going slightly mad. Old code is fine, new is borked. These buffers are never freed (just left for OS to clean up when program exits).anyone?