[channels,rail] fix use after free
This commit is contained in:
parent
f928f9465b
commit
7aae7896ae
@ -219,13 +219,7 @@ static UINT rail_send_client_sysparam(RailClientContext* context, RAIL_SYSPARAM_
|
|||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((error = rail_send_pdu(rail, s, TS_RAIL_ORDER_SYSPARAM)))
|
return rail_send_pdu(rail, s, TS_RAIL_ORDER_SYSPARAM);
|
||||||
{
|
|
||||||
WLog_ERR(TAG, "rail_send_pdu failed with error %" PRIu32 "!", error);
|
|
||||||
}
|
|
||||||
|
|
||||||
Stream_Free(s, TRUE);
|
|
||||||
return error;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user