int deflateEnd (z_streamp strm);

Все динамически выделенные структуры данных и потоки освобождаются. This function discards any unprocessed input and does not flush any pending output.

deflateEnd возвращает

Z_OK при успехе
Z_STREAM_ERROR if the stream state was inconsistent
Z_DATA_ERROR if the stream was freed prematurely (some input or output was discarded)

В случае ошибки, msg может быть установлено, но будет указывать на статическую строку (которую не следует освобождать).

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.