Fix buffer leaking on connection disconnect

This commit is contained in:
Kamil Trzcinski
2022-04-06 14:27:35 +02:00
parent aad601d575
commit 899204916f
5 changed files with 13 additions and 5 deletions

View File

@ -5,4 +5,4 @@ cd "$SCRIPT_DIR"
set -xeo pipefail
make
./camera_stream -camera-path=$(echo /dev/v4l/by-id/usb-*-video-index0 ) "$@"
$GDB ./camera_stream -camera-path=$(echo /dev/v4l/by-id/usb-*-video-index0 ) "$@"