Function

GLibByteArrayunref

since: 2.22

Declaration [src]

void
g_byte_array_unref (
  GByteArray* array
)

Description [src]

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.

Available since: 2.22

Parameters

array

Type: An array of guint8

A GByteArray.

The data is owned by the caller of the function.