chronovu-la8: remove session source when done

This commit is contained in:
Bert Vermeulen 2012-08-03 10:17:31 +02:00
parent 503c4afbb4
commit 7021f98596
1 changed files with 2 additions and 0 deletions

View File

@ -506,6 +506,8 @@ static int hw_dev_acquisition_stop(const struct sr_dev_inst *sdi,
sr_dbg("la8: Stopping acquisition.");
sr_source_remove(-1);
if (!(devc = sdi->priv)) {
sr_err("la8: %s: sdi->priv was NULL", __func__);
return SR_ERR_BUG;