]> git.neil.brown.name Git - edlib.git/commit
keymap: make a local copy of any key put in a keymap.
authorNeilBrown <neil@brown.name>
Fri, 25 Dec 2015 22:34:07 +0000 (09:34 +1100)
committerNeilBrown <neil@brown.name>
Fri, 25 Dec 2015 22:34:07 +0000 (09:34 +1100)
commit4e7b5c95fe6a11ed0718751705d22de55490bcd4
tree14303bc1190bb5552ae3705338cf5d927a79dd44
parentd3ff7372dadbc9d34f6811cfa597e2632ecdbf1c
keymap: make a local copy of any key put in a keymap.

When called from C, these are always static.  But there is no
such guarantee when called from elsewhere.

We really should refcount the 'comm' too or something like that.
For now, they are never freed.

Signed-off-by: NeilBrown <neil@brown.name>
core-keymap.c