Fix inflate buffer leak when decompressing entire data (fix #58)