kim/leveldb-haskell — pull request #2 by milaz (2012-02-16 23:47:36+00:00)
Title: Fix for memory corruption and segfaults.

See convention #3 at http://code.google.com/p/leveldb/source/browse/include/leveldb/c.h
The *errptr must be NULL, but previously that was not always so, because Haskell alloca, while allocates memory, does not zero-fill it.