Merge branch 'misc-variant-fixes' into 'main'

tests: Fix a small leak in the GVariant tests and some minor documentation typos

See merge request GNOME/glib!3062
This commit is contained in:
Simon McVittie 2022-11-08 15:43:58 +00:00
commit 3e1074f403
3 changed files with 3 additions and 2 deletions

View File

@ -604,7 +604,7 @@ g_variant_new_from_bytes (const GVariantType *type,
* @type: a #GVariantType
* @children: an array of #GVariant pointers. Consumed.
* @n_children: the length of @children
* @trusted: %TRUE if every child in @children in trusted
* @trusted: %TRUE if every child in @children is trusted
*
* Constructs a new tree-mode #GVariant instance. This is the inner
* interface for creation of new serialized values that gets called from

View File

@ -1466,7 +1466,7 @@ g_variant_serialiser_serialise (GVariantSerialised serialised,
*
* Determines how much memory would be needed to serialize this value.
*
* This function is only resonsible for performing calculations for the
* This function is only responsible for performing calculations for the
* top-level container. @gvs_filler is called on each child of the
* container in order to determine its size.
*/

View File

@ -4217,6 +4217,7 @@ test_parser_recursion_typedecls (void)
g_assert_null (value);
g_error_free (local_error);
g_free (silly_array);
g_free (silly_type);
}
static void