gcc: assigned string must not be freed.

This commit is contained in:
Vic Lee 2016-02-03 13:34:58 +08:00
parent 220478ec01
commit 73f895fd55

View File

@ -593,7 +593,6 @@ BOOL gcc_read_client_core_data(wStream* s, rdpMcs* mcs, UINT16 blockLength)
Stream_Seek(s, 32);
free(settings->ClientHostname);
settings->ClientHostname = str;
free(str);
str = NULL;
Stream_Read_UINT32(s, settings->KeyboardType); /* KeyboardType (4 bytes) */