From: Holger Schemel Date: Sat, 17 Oct 2020 16:01:23 +0000 (+0200) Subject: added missing free() for local string variable X-Git-Tag: 4.2.1.0~53 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=ef10463b42e40a7a4327cf0b2e2cf926160eac9e;p=rocksndiamonds.git added missing free() for local string variable --- diff --git a/src/files.c b/src/files.c index 12813f59..66109470 100644 --- a/src/files.c +++ b/src/files.c @@ -9526,6 +9526,8 @@ static void setSetupInfoFromTokenText(SetupFileHash *setup_file_hash, // check if this setup option should be hidden in the setup menu if (token_hide_value != NULL && get_boolean_from_string(token_hide_value)) setHideSetupEntry(token_info[token_nr].value); + + free(token_hide_text); } static void setSetupInfoFromTokenInfo(SetupFileHash *setup_file_hash,