Fixed proper reset ov member variable to NULL
This commit is contained in:
parent
bc80fe3580
commit
bc800175d1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user