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/c50ac7f6a5e8
branches:  trunk
changeset: 1021083:c50ac7f6a5e8
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 b96f30fe316d -r c50ac7f6a5e8 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_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