nsiproxy: Fix use after free in icmp_send_echo (scan-build).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
656d7f58a1
commit
06923f61e2
|
@ -656,8 +656,8 @@ NTSTATUS icmp_send_echo( void *args )
|
|||
if (ret < 0)
|
||||
{
|
||||
TRACE( "sendto() rets %d errno %d\n", ret, errno );
|
||||
icmp_data_free( data );
|
||||
params->reply_len = data->ops->set_reply_ip_status( errno_to_ip_status( errno ), params->bits, params->reply );
|
||||
icmp_data_free( data );
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue