commit | cbf172f79dbc86264fd35b2b8a0b308896ae00e1 | [log] [tgz] |
---|---|---|
author | antirez <antirez@gmail.com> | Wed Mar 12 13:10:44 2014 +0100 |
committer | antirez <antirez@gmail.com> | Wed Mar 12 13:10:44 2014 +0100 |
tree | 9cceee404e30e8f7c5137498d1b7c1b3d14ff353 | |
parent | aed9d1af9fd9f8d83ec9b5fcb0c2d071433f9fd1 [diff] |
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.