From 73f895fd55e78134db0821ee4b17881c56d74328 Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Wed, 3 Feb 2016 13:34:58 +0800 Subject: [PATCH] gcc: assigned string must not be freed. --- libfreerdp/core/gcc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libfreerdp/core/gcc.c b/libfreerdp/core/gcc.c index df14de7d9..c2354423e 100644 --- a/libfreerdp/core/gcc.c +++ b/libfreerdp/core/gcc.c @@ -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) */