Hopefully fix the problems with Double Free Errors
This commit is contained in:
parent
07040d3e8e
commit
68a5eee21c
1 changed files with 1 additions and 6 deletions
7
proxy.c
7
proxy.c
|
@ -262,12 +262,7 @@ static int proxy_read( void *data, void *recv, int size )
|
|||
if (si->state == DOING_SCAN) si->state = FIN_SCAN;
|
||||
check_scan_free(si);
|
||||
}
|
||||
if (size == -2)
|
||||
/* already delsock */
|
||||
return NS_SUCCESS;
|
||||
else
|
||||
/* need socket functions to delsock */
|
||||
return NS_FAILURE;
|
||||
return NS_FAILURE;
|
||||
|
||||
default:
|
||||
proxy_list[ci->type-1].scanned++;
|
||||
|
|
Reference in a new issue