MCPcopy Create free account
hub / github.com/apache/arrow / garrow_map_array_dispose

Function garrow_map_array_dispose

c_glib/arrow-glib/composite-array.cpp:1097–1118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095 garrow_map_array_get_instance_private(GARROW_MAP_ARRAY(obj)))
1096
1097static void
1098garrow_map_array_dispose(GObject *object)
1099{
1100 auto priv = GARROW_MAP_ARRAY_GET_PRIVATE(object);
1101
1102 if (priv->offsets) {
1103 g_object_unref(priv->offsets);
1104 priv->offsets = NULL;
1105 }
1106
1107 if (priv->keys) {
1108 g_object_unref(priv->keys);
1109 priv->keys = NULL;
1110 }
1111
1112 if (priv->items) {
1113 g_object_unref(priv->items);
1114 priv->items = NULL;
1115 }
1116
1117 G_OBJECT_CLASS(garrow_map_array_parent_class)->dispose(object);
1118}
1119
1120static void
1121garrow_map_array_set_property(GObject *object,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected