Commit cbf172f79dbc86264fd35b2b8a0b308896ae00e1

antirez 2014-03-12T13:10:44

Handle malloc error in linenoiseAddCompletion(). We just don't add the entry on out of memory to avoid to break the API with previous versions of Linenoise.