diff options
Diffstat (limited to 'apps/app_softhangup.c')
-rwxr-xr-x | apps/app_softhangup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_softhangup.c b/apps/app_softhangup.c index 6631b0ad7..124f270c6 100755 --- a/apps/app_softhangup.c +++ b/apps/app_softhangup.c @@ -60,6 +60,7 @@ static int softhangup_exec(struct ast_channel *chan, void *data) while (c) { strncpy(name, c->name, sizeof(name)-1); ast_mutex_unlock(&c->lock); + /* XXX watch out, i think it is wrong to access c-> after unlocking! */ if (all) { /* CAPI is set up like CAPI[foo/bar]/clcnt */ if (!strcmp(c->type,"CAPI")) |