projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02a095d
)
added missing free() for local string variable
author
Holger Schemel
<info@artsoft.org>
Sat, 17 Oct 2020 16:01:23 +0000
(18:01 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 13 Dec 2020 23:57:56 +0000
(
00:57
+0100)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index 12813f59a4aa88ade989bae047640df2a40dcc2b..66109470dfc7ab57007b5db46b0a43a23adc1fdb 100644
(file)
--- 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,