Merge pull request #3103 from llyzs/memfix

gcc: assigned string must not be freed.
This commit is contained in:
Martin Fleisz 2016-02-03 09:46:16 +01:00
commit 97125094f8

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) */