]> sigrok.org Git - libsigrok.git/commit
sr: fx2lafw: Fix potential leaks in acquisition_start error paths
authorLars-Peter Clausen <redacted>
Tue, 3 Jul 2012 21:58:40 +0000 (23:58 +0200)
committerBert Vermeulen <redacted>
Tue, 3 Jul 2012 23:11:50 +0000 (01:11 +0200)
commit25f5d66a7752379abe454da0705df4ed15ce6426
tree3506c458c4a09a5d46c7bb84c92d1dea05670b6c
parentc03f045004a340bd418206cbd02eaefcede91a5b
sr: fx2lafw: Fix potential leaks in acquisition_start error paths

Call abort_acquisition if starting sampling fails in acquisition_start, this
will ensure that all already allocated resources are being freed again.

Signed-off-by: Lars-Peter Clausen <redacted>
hardware/fx2lafw/fx2lafw.c