fixed copy-paste error in ozmod_wanpipe

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@749 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva 2009-06-23 14:46:11 +00:00
parent dbc7996969
commit 7841b7635b
1 changed files with 1 additions and 1 deletions

View File

@ -976,8 +976,8 @@ static ZIO_CHANNEL_DESTROY_FUNCTION(wanpipe_channel_destroy)
{
#ifdef LIBSANGOMA_VERSION
if (zchan->mod_data) {
sangoma_wait_obj = zchan->mod_data;
sangoma_wait_obj_t *sangoma_wait_obj;
sangoma_wait_obj = zchan->mod_data;
zchan->mod_data = NULL;
sangoma_wait_obj_delete(&sangoma_wait_obj);
}