freetdm: free the iterator when setting channels to non-block

This commit is contained in:
Moises Silva 2010-12-29 14:08:18 -05:00
parent 090864fa39
commit 6fb1e5d9c1
1 changed files with 1 additions and 0 deletions

View File

@ -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_iterator_free(citer);
return FTDM_SUCCESS;
}