Closed Katana-Steel closed 7 years ago
gzclose(fp) will finish any pending writes, so freeing the write buffer before closing the file is essentially referencing free'ed memory while the close calls flushes the write buffer.
Thanks!
gzclose(fp) will finish any pending writes, so freeing the write buffer before closing the file is essentially referencing free'ed memory while the close calls flushes the write buffer.