ZBar is an open source software suite for reading bar codes from various sources, including webcams. As its development stopped in 2012, I took the task of keeping it updated with the V4L2 API. This is the main repository for it. There's a clone at at LinuxTV.org, and another one at gitlab.
This patch fixes two error paths where
_zbar_sq_decode
returns without executing thefree_borders
cleanup code and leaks memory.