libxrdp: fix memory leak
This commit is contained in:
parent
ea6bb62410
commit
828079b442
@ -847,6 +847,7 @@ libxrdp_set_pointer(struct xrdp_session *session, int cache_idx)
|
|||||||
LLOGLN(10, ("libxrdp_send_pointer: fastpath"));
|
LLOGLN(10, ("libxrdp_send_pointer: fastpath"));
|
||||||
if (xrdp_rdp_init_fastpath((struct xrdp_rdp *)session->rdp, s) != 0)
|
if (xrdp_rdp_init_fastpath((struct xrdp_rdp *)session->rdp, s) != 0)
|
||||||
{
|
{
|
||||||
|
free_stream(s);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user