Fixed proper reset ov member variable to NULL

This commit is contained in:
akallabeth 2021-09-17 09:26:18 +02:00 committed by akallabeth
parent bc80fe3580
commit bc800175d1

View File

@ -981,8 +981,8 @@ void freerdp_peer_context_free(freerdp_peer* client)
metrics_free(ctx->metrics);
ctx->metrics = NULL;
free(ctx);
ctx = NULL;
}
client->context = NULL;
}
freerdp_peer* freerdp_peer_new(int sockfd)