aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.hh
diff options
context:
space:
mode:
authorTomas Janousek <tomi@nomi.cz>2008-02-04 17:33:17 (GMT)
committerTomas Janousek <tomi@nomi.cz>2008-02-04 17:46:24 (GMT)
commitb61502ffbc17d51506bb274472f9bf8934319364 (patch)
treec1f41c75da9563253b3376d2232760684ac0cd3d /src/Keys.hh
parent9671b2f99cf42fcd1d610385836ffc79502d717a (diff)
downloadfluxbox_pavel-b61502ffbc17d51506bb274472f9bf8934319364.zip
fluxbox_pavel-b61502ffbc17d51506bb274472f9bf8934319364.tar.bz2
Fix a freed memory access in Keys::doAction.
The thing next_key pointed to was getting freed in deleteTree. Signed-off-by: Tomas Janousek <tomi@nomi.cz>
Diffstat (limited to 'src/Keys.hh')
-rw-r--r--src/Keys.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Keys.hh b/src/Keys.hh
index 399853c..439ecac 100644
--- a/src/Keys.hh
+++ b/src/Keys.hh
@@ -113,6 +113,9 @@ private:
113 t_key *m_keylist; 113 t_key *m_keylist;
114 keyspace_t m_map; 114 keyspace_t m_map;
115 115
116 // former doAction static var, we need to access it from deleteTree
117 t_key *next_key;
118
116 WindowMap m_window_map; 119 WindowMap m_window_map;
117 HandlerMap m_handler_map; 120 HandlerMap m_handler_map;
118}; 121};