Fix a memory leak. nextboot_conf_file is not volatile, as far as I
can tell, and thus the strdup is entirely unnecessary. Thanks to: Toomas Soome (tsoome at-me dot-com) MFC after: 1 week
This commit is contained in:
parent
68a7758bef
commit
e31d4ef62a
@ -1019,7 +1019,7 @@ string current_file_name_ref \ used to print the file name
|
||||
;
|
||||
|
||||
: get_nextboot_conf_file ( -- addr len )
|
||||
nextboot_conf_file strget strdup
|
||||
nextboot_conf_file strget
|
||||
;
|
||||
|
||||
: rewrite_nextboot_file ( -- )
|
||||
|
Loading…
x
Reference in New Issue
Block a user