[server,shadow] fix missing set NULL after free

This commit is contained in:
Armin Novak 2023-12-15 19:15:55 +01:00 committed by David Fort
parent 6a31820363
commit 736658a2d1

View File

@ -975,6 +975,7 @@ int shadow_server_uninit(rdpShadowServer* server)
shadow_server_stop(server);
shadow_subsystem_uninit(server->subsystem);
shadow_subsystem_free(server->subsystem);
server->subsystem = NULL;
freerdp_listener_free(server->listener);
server->listener = NULL;
free(server->CertificateFile);