Release buffer on exception #99