Fixed missing NULL set

This commit is contained in:
Armin Novak 2021-09-07 10:13:16 +02:00 committed by akallabeth
parent 56648a98f2
commit b41093be20

View File

@ -1946,10 +1946,19 @@ BOOL rdp_reset(rdpRdp* rdp)
}
mcs_free(rdp->mcs);
rdp->mcs = NULL;
nego_free(rdp->nego);
rdp->nego = NULL;
license_free(rdp->license);
rdp->license = NULL;
transport_free(rdp->transport);
rdp->transport = NULL;
fastpath_free(rdp->fastpath);
rdp->fastpath = NULL;
rdp->transport = transport_new(context);
if (rdp->transport)