From cd3aea8d8ccecd1ce02471d2456b45cdb6817b50 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 4 Apr 2012 19:36:23 +0400 Subject: [PATCH] fixed netcall disconnect --- ngx_rtmp_netcall_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_rtmp_netcall_module.c b/ngx_rtmp_netcall_module.c index b8741b5..2106673 100644 --- a/ngx_rtmp_netcall_module.c +++ b/ngx_rtmp_netcall_module.c @@ -129,7 +129,7 @@ ngx_rtmp_netcall_disconnect(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h, if (ctx) { for (cs = ctx->cs; cs; cs = cs->next) { - ngx_rtmp_netcall_detach(ctx->cs->pc->connection); + ngx_rtmp_netcall_detach(cs->pc->connection); } }