Skip to content

glib-compile-resources: Fix size allocation for compressed streams

The length of the stolen data from a memory output stream is given by get_data_size() — get_size() can be larger, and hence cause unnecessary overallocation.


This is a resubmitted version of !331 (closed) with an appropriate commit message, since the original author is unresponsive. I haven’t made any other changes to the patch.

Merge request reports