Plugged memory leak in GZIP handling

There was an issue with method naming which resulted in a memory leak. This has now been fixed.