mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-22 07:09:16 +02:00
Merge branch 'vmlobanov78/glib-patch-2' into 'master'
glib-compile-resources: Fix size allocation for compressed streams See merge request GNOME/glib!458
This commit is contained in:
commit
55934a01c6
@ -483,7 +483,7 @@ end_element (GMarkupParseContext *context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
g_free (data->content);
|
g_free (data->content);
|
||||||
data->content_size = g_memory_output_stream_get_size (G_MEMORY_OUTPUT_STREAM (out));
|
data->content_size = g_memory_output_stream_get_data_size (G_MEMORY_OUTPUT_STREAM (out));
|
||||||
data->content = g_memory_output_stream_steal_data (G_MEMORY_OUTPUT_STREAM (out));
|
data->content = g_memory_output_stream_steal_data (G_MEMORY_OUTPUT_STREAM (out));
|
||||||
|
|
||||||
g_object_unref (compressor);
|
g_object_unref (compressor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user