mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
Cleanup leak in editline (bug #1847)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -124,7 +124,7 @@ key_end(EditLine *el)
|
||||
|
||||
el_free((ptr_t) el->el_key.buf);
|
||||
el->el_key.buf = NULL;
|
||||
/* XXX: provide a function to clear the keys */
|
||||
node__put(el, el->el_key.map);
|
||||
el->el_key.map = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user