fixed a bug in VisionBuf::free() where an incorrect length parameter was passed to munmap(), potentially causing memory issues.
In the allocate() method, the length of the memory mapping (mmap_len) was calculated as this->len + sizeof(uint64_t). However, in the free() method, only this->len was used as the length parameter for munmap(), resulting in an incorrect length.
fixed a bug in VisionBuf::free() where an incorrect length parameter was passed to munmap(), potentially causing memory issues.
In the allocate() method, the length of the memory mapping (mmap_len) was calculated as
this->len + sizeof(uint64_t)
. However, in the free() method, only this->len was used as the length parameter for munmap(), resulting in an incorrect length.