aboutsummaryrefslogtreecommitdiff
path: root/mode-key.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-07-30 21:14:04 +0000
committerTiago Cunha <tcunha@gmx.com>2009-07-30 21:14:04 +0000
commit09c64328549676f22a5a541e27a5ad89200e94ad (patch)
treee04a8d4eb79f630d02f88765f5c21a1f29a56189 /mode-key.c
parent796bfbd7afa40ef5bbc486c6a4bdb857e8204a29 (diff)
downloadrtmux-09c64328549676f22a5a541e27a5ad89200e94ad.tar.gz
rtmux-09c64328549676f22a5a541e27a5ad89200e94ad.tar.bz2
rtmux-09c64328549676f22a5a541e27a5ad89200e94ad.zip
Sync OpenBSD patchset 207:
Plug some memory leaks.
Diffstat (limited to 'mode-key.c')
-rw-r--r--mode-key.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mode-key.c b/mode-key.c
index 4be32fbd..6024bd68 100644
--- a/mode-key.c
+++ b/mode-key.c
@@ -1,4 +1,4 @@
-/* $Id: mode-key.c,v 1.22 2009-07-28 23:19:06 tcunha Exp $ */
+/* $Id: mode-key.c,v 1.23 2009-07-30 21:14:04 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);
}
}
}