diff options
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r-- | channels/chan_skinny.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 3c0c9fbfc..8b06980c1 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -5917,7 +5917,7 @@ static void *accept_thread(void *ignore) AST_LIST_INSERT_HEAD(&sessions, s, list); AST_LIST_UNLOCK(&sessions); - if (ast_pthread_create_detached(&s->t, NULL, skinny_session, s)) { + if (ast_pthread_create(&s->t, NULL, skinny_session, s)) { destroy_session(s); } } |