| 58 | garrow_buffer_get_instance_private(GARROW_BUFFER(obj))) |
| 59 | |
| 60 | static void |
| 61 | garrow_buffer_dispose(GObject *object) |
| 62 | { |
| 63 | auto priv = GARROW_BUFFER_GET_PRIVATE(object); |
| 64 | |
| 65 | if (priv->data) { |
| 66 | g_bytes_unref(priv->data); |
| 67 | priv->data = nullptr; |
| 68 | } |
| 69 | |
| 70 | if (priv->parent) { |
| 71 | g_object_unref(priv->parent); |
| 72 | priv->parent = nullptr; |
| 73 | } |
| 74 | |
| 75 | G_OBJECT_CLASS(garrow_buffer_parent_class)->dispose(object); |
| 76 | } |
| 77 | |
| 78 | static void |
| 79 | garrow_buffer_finalize(GObject *object) |
nothing calls this directly
no outgoing calls
no test coverage detected