mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-06 07:15:53 -04:00
去除无用代码
This commit is contained in:
parent
d4731be3fa
commit
5492e16992
1 changed files with 0 additions and 1 deletions
1
maomao.c
1
maomao.c
|
|
@ -4355,7 +4355,6 @@ void free_config(void) {
|
|||
|
||||
for ( i = 0; i < config.key_bindings_count; i++) {
|
||||
if (config.key_bindings[i].arg.v) {
|
||||
logtofile(config.key_bindings[i].arg.v);
|
||||
free((void *)config.key_bindings[i].arg.v);
|
||||
config.key_bindings[i].arg.v = NULL; // 避免重复释放
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue