mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-16 00:28:10 +02:00
Plug some memory leaks.
This commit is contained in:
@ -337,6 +337,7 @@ mode_key_free_trees(void)
|
||||
while (!SPLAY_EMPTY(mtab->tree)) {
|
||||
mbind = SPLAY_ROOT(mtab->tree);
|
||||
SPLAY_REMOVE(mode_key_tree, mtab->tree, mbind);
|
||||
xfree(mbind);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user