mchehab / zbar

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.
https://linuxtv.org/downloads/zbar/
GNU Lesser General Public License v2.1
1k stars 206 forks source link

Fix memory leak in _zbar_sq_decode #294

Open arcz opened 3 months ago

arcz commented 3 months ago

This patch fixes two error paths where _zbar_sq_decode returns without executing the free_borders cleanup code and leaks memory.