From 341e94b28d966ae47390606c5447bb56f2453465 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 3 Aug 2016 23:57:00 -0500 Subject: [PATCH] FS-8761 #resolve [Memory leak in FreeSWITCH] --- libs/sofia-sip/libsofia-sip-ua/tport/ws.c | 6 +++--- src/mod/endpoints/mod_verto/ws.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/ws.c b/libs/sofia-sip/libsofia-sip-ua/tport/ws.c index 7fe9f182bf..f3783c024e 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/ws.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/ws.c @@ -547,9 +547,9 @@ static int establish_logical_layer(wsh_t *wsh) wsh->sanity--; - if (!wsh->block) { - return -2; - } + //if (!wsh->block) { + // return -2; + //} } while (wsh->sanity > 0); diff --git a/src/mod/endpoints/mod_verto/ws.c b/src/mod/endpoints/mod_verto/ws.c index 265dd10d8e..954e9f43df 100644 --- a/src/mod/endpoints/mod_verto/ws.c +++ b/src/mod/endpoints/mod_verto/ws.c @@ -547,9 +547,9 @@ static int establish_logical_layer(wsh_t *wsh) wsh->sanity--; - if (!wsh->block) { - return -2; - } + //if (!wsh->block) { + //return -2; + //} } while (wsh->sanity > 0);