Revert "Release buffer on exception #99"

This reverts commit 159ca0c0b303a1c7fd920588c5588b7ab1e1788f.