neovim/neovim — pull request #690 by ony (2014-05-05 06:04:10+00:00)
Title: [RFC] spatch to drop check after alloc/lalloc/xmalloc

Sample of what can done with [coccinelle](http://coccinelle.lip6.fr/) for helping resolving tickets like #488 . This patch built by:
````
spatch --in-place --sp-file allocs.cocci src/*.c
````
When contents of `allocs.cocci`:
````patch
@@ identifier p; @@
p =
(
alloc(...)
|
lalloc(...)
|
xmalloc(...)
)
;
- if (p == NULL) { ... }
````