Merge branch 'garray_unref_docs_clarify' into 'main'

docs: Clarify that g_array_unref() works like g_ptr_array_unref().

See merge request GNOME/glib!4460
This commit is contained in:
Michael Catanzaro 2025-01-22 23:01:22 +00:00
commit 82c179e624

View File

@ -448,9 +448,9 @@ static gchar *array_free (GRealArray *, ArrayFreeFlags);
* @array: A #GArray
*
* Atomically decrements the reference count of @array by one. If the
* reference count drops to 0, all memory allocated by the array is
* released. This function is thread-safe and may be called from any
* thread.
* reference count drops to 0, the effect is the same as calling
* g_array_free() with @free_segment set to %TRUE. This function is
* thread-safe and may be called from any thread.
*
* Since: 2.22
*/