Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/tmux/dist Don't free things twice (Kengo Nakahara)
details: https://anonhg.NetBSD.org/src/rev/923e7cba90d1
branches: trunk
changeset: 379052:923e7cba90d1
user: christos <christos%NetBSD.org@localhost>
date: Fri May 07 11:11:11 2021 +0000
description:
Don't free things twice (Kengo Nakahara)
diffstat:
external/bsd/tmux/dist/mode-tree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 1fe7774ef9fe -r 923e7cba90d1 external/bsd/tmux/dist/mode-tree.c
--- a/external/bsd/tmux/dist/mode-tree.c Fri May 07 09:54:43 2021 +0000
+++ b/external/bsd/tmux/dist/mode-tree.c Fri May 07 11:11:11 2021 +0000
@@ -139,7 +139,7 @@ mode_tree_free_item(struct mode_tree_ite
mode_tree_free_items(&mti->children);
free(__UNCONST(mti->name));
- free(__UNCONST(mti->name));
+ free(__UNCONST(mti->text));
free(__UNCONST(mti->keystr));
free(mti);
Home |
Main Index |
Thread Index |
Old Index