- destroy interface lock on unload

This commit is contained in:
MelwareDE 2006-05-21 14:42:17 +00:00
parent 5827ebfedb
commit f4fe1dc73f
1 changed files with 1 additions and 0 deletions

View File

@ -5326,6 +5326,7 @@ int unload_module()
cc_log(LOG_WARNING, "On unload, interface still has owner.\n");
if (i->smoother)
ast_smoother_free(i->smoother);
cc_mutex_destroy(&i->lock);
itmp = i;
i = i->next;
free(itmp);