added missing free() for local string variable
authorHolger Schemel <info@artsoft.org>
Sat, 17 Oct 2020 16:01:23 +0000 (18:01 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 13 Dec 2020 23:57:56 +0000 (00:57 +0100)
src/files.c

index 12813f59a4aa88ade989bae047640df2a40dcc2b..66109470dfc7ab57007b5db46b0a43a23adc1fdb 100644 (file)
@@ -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,