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.
1 file changed
tree: 9cceee404e30e8f7c5137498d1b7c1b3d14ff353
  1. .gitignore
  2. example.c
  3. linenoise.c
  4. linenoise.h
  5. Makefile
  6. README.markdown