Merge pull request #3103 from llyzs/memfix
gcc: assigned string must not be freed.
This commit is contained in:
commit
97125094f8
@ -593,7 +593,6 @@ BOOL gcc_read_client_core_data(wStream* s, rdpMcs* mcs, UINT16 blockLength)
|
|||||||
Stream_Seek(s, 32);
|
Stream_Seek(s, 32);
|
||||||
free(settings->ClientHostname);
|
free(settings->ClientHostname);
|
||||||
settings->ClientHostname = str;
|
settings->ClientHostname = str;
|
||||||
free(str);
|
|
||||||
str = NULL;
|
str = NULL;
|
||||||
|
|
||||||
Stream_Read_UINT32(s, settings->KeyboardType); /* KeyboardType (4 bytes) */
|
Stream_Read_UINT32(s, settings->KeyboardType); /* KeyboardType (4 bytes) */
|
||||||
|
Loading…
Reference in New Issue
Block a user