Actually 'matches' should also be free()'d. 
Attached patch for this.

** Attachment added: "Delete matches and set to NULL if no match, to avoid 
segfault."
   http://launchpadlibrarian.net/8590043/readline-no-match.patch

-- 
Readline library crash on custom completion
https://bugs.launchpad.net/bugs/128727
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to