mirror of https://github.com/FreeRDP/FreeRDP
Fixed missing NULL set
This commit is contained in:
parent
56648a98f2
commit
b41093be20
|
@ -1946,10 +1946,19 @@ BOOL rdp_reset(rdpRdp* rdp)
|
||||||
}
|
}
|
||||||
|
|
||||||
mcs_free(rdp->mcs);
|
mcs_free(rdp->mcs);
|
||||||
|
rdp->mcs = NULL;
|
||||||
|
|
||||||
nego_free(rdp->nego);
|
nego_free(rdp->nego);
|
||||||
|
rdp->nego = NULL;
|
||||||
|
|
||||||
license_free(rdp->license);
|
license_free(rdp->license);
|
||||||
|
rdp->license = NULL;
|
||||||
|
|
||||||
transport_free(rdp->transport);
|
transport_free(rdp->transport);
|
||||||
|
rdp->transport = NULL;
|
||||||
|
|
||||||
fastpath_free(rdp->fastpath);
|
fastpath_free(rdp->fastpath);
|
||||||
|
rdp->fastpath = NULL;
|
||||||
|
|
||||||
rdp->transport = transport_new(context);
|
rdp->transport = transport_new(context);
|
||||||
if (rdp->transport)
|
if (rdp->transport)
|
||||||
|
|
Loading…
Reference in New Issue