]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Revert "FS-8761 #resolve [Memory leak in FreeSWITCH]"
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 6 Aug 2016 16:47:07 +0000 (11:47 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 6 Aug 2016 16:47:07 +0000 (11:47 -0500)
This reverts commit 341e94b28d966ae47390606c5447bb56f2453465.

libs/sofia-sip/libsofia-sip-ua/tport/ws.c
src/mod/endpoints/mod_verto/ws.c

index f3783c024ee4cb03238c1e12763886b9956e4276..7fe9f182bf5f4bc99048b028709d4273088c14e2 100644 (file)
@@ -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);
                
index 954e9f43df372d10451799199836eb2f8cc40c6c..265dd10d8e3741de635dc265f8d99dcc5c9a8fca 100644 (file)
@@ -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);