mirror of https://github.com/FreeRDP/FreeRDP
[channels,rdpear] fix leak in rdpear_prepare_response
This commit is contained in:
parent
dbe92795e3
commit
0b9d35235b
|
@ -267,6 +267,8 @@ static BOOL rdpear_prepare_response(NdrContext* rcontext, UINT16 callId, UINT32
|
|||
*pwcontext = wcontext;
|
||||
ret = TRUE;
|
||||
out:
|
||||
if (!ret)
|
||||
ndr_context_destroy(&wcontext);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue