server/proxy: Remove unnecessary wrap for connection info
This commit is contained in:
parent
2126024321
commit
20e503421e
@ -97,7 +97,7 @@ proxyData* pf_context_proxy_data_new()
|
||||
return NULL;
|
||||
}
|
||||
|
||||
pdata->info = pf_context_connection_info_new();
|
||||
pdata->info = malloc(sizeof(connectionInfo));
|
||||
|
||||
if (pdata->info == NULL)
|
||||
{
|
||||
|
@ -85,7 +85,5 @@ BOOL init_p_server_context(freerdp_peer* client);
|
||||
rdpContext* p_client_context_create(rdpSettings* clientSettings, char* host, DWORD port);
|
||||
proxyData* pf_context_proxy_data_new();
|
||||
void pf_context_proxy_data_free(proxyData* pdata);
|
||||
connectionInfo* pf_context_connection_info_new();
|
||||
void pf_context_connection_info_free(connectionInfo* info);
|
||||
|
||||
#endif /* FREERDP_SERVER_PROXY_PFCONTEXT_H */
|
||||
|
Loading…
Reference in New Issue
Block a user