diff --git a/libfreerdp/core/client.c b/libfreerdp/core/client.c index 31cd4992e..d9505108c 100644 --- a/libfreerdp/core/client.c +++ b/libfreerdp/core/client.c @@ -272,6 +272,7 @@ UINT freerdp_channels_post_connect(rdpChannels* channels, freerdp* instance) PubSub_OnChannelConnected(instance->context->pubSub, instance->context, &e); free(name); + name = NULL; } }