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

Function garrow_array_dispose

c_glib/arrow-glib/basic-array.cpp:672–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670 return arrow_specific_array->raw_values();
671};
672G_BEGIN_DECLS
673
674static void
675garrow_array_dispose(GObject *object)
676{
677 auto priv = GARROW_ARRAY_GET_PRIVATE(object);
678
679 if (priv->value_data_type) {
680 g_object_unref(priv->value_data_type);
681 priv->value_data_type = NULL;
682 }
683
684 if (priv->null_bitmap) {
685 g_object_unref(priv->null_bitmap);
686 priv->null_bitmap = NULL;
687 }
688
689 if (priv->buffer1) {
690 g_object_unref(priv->buffer1);
691 priv->buffer1 = NULL;
692 }
693
694 if (priv->buffer2) {
695 g_object_unref(priv->buffer2);
696 priv->buffer2 = NULL;
697 }
698
699 if (priv->parent) {
700 g_object_unref(priv->parent);
701 priv->parent = NULL;
702 }
703
704 G_OBJECT_CLASS(garrow_array_parent_class)->dispose(object);
705}
706
707static void
708garrow_array_finalize(GObject *object)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected