libxrdp: fix memory leak

master
daixj 6 years ago committed by metalefty
parent ea6bb62410
commit 828079b442

@ -847,6 +847,7 @@ libxrdp_set_pointer(struct xrdp_session *session, int cache_idx)
LLOGLN(10, ("libxrdp_send_pointer: fastpath"));
if (xrdp_rdp_init_fastpath((struct xrdp_rdp *)session->rdp, s) != 0)
{
free_stream(s);
return 1;
}
}

Loading…
Cancel
Save