mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
FS-8761 #resolve [Memory leak in FreeSWITCH]
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user