freetdm: free the iterator when setting channels to non-block
This commit is contained in:
parent
090864fa39
commit
6fb1e5d9c1
|
@ -1902,6 +1902,7 @@ FT_DECLARE(ftdm_status_t) ftdm_span_set_blocking_mode(const ftdm_span_t *span, f
|
||||||
ftdm_set_flag_locked(fchan, FTDM_CHANNEL_NONBLOCK);
|
ftdm_set_flag_locked(fchan, FTDM_CHANNEL_NONBLOCK);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ftdm_iterator_free(citer);
|
||||||
return FTDM_SUCCESS;
|
return FTDM_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue