asix-sigma: remove session source when done

This commit is contained in:
Bert Vermeulen 2012-08-03 10:12:54 +02:00
parent 7fd3e85961
commit 503c4afbb4
1 changed files with 2 additions and 0 deletions

View File

@ -1417,6 +1417,8 @@ static int hw_dev_acquisition_stop(const struct sr_dev_inst *sdi,
/* Avoid compiler warnings. */
(void)cb_data;
sr_source_remove(0);
if (!(devc = sdi->priv)) {
sr_err("sigma: %s: sdi->priv was NULL", __func__);
return SR_ERR_BUG;