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

Function garrow_compressed_input_stream_dispose

c_glib/arrow-glib/input-stream.cpp:1083–1099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1081 GARROW_COMPRESSED_INPUT_STREAM(object)))
1082
1083static void
1084garrow_compressed_input_stream_dispose(GObject *object)
1085{
1086 auto priv = GARROW_COMPRESSED_INPUT_STREAM_GET_PRIVATE(object);
1087
1088 if (priv->codec) {
1089 g_object_unref(priv->codec);
1090 priv->codec = NULL;
1091 }
1092
1093 if (priv->raw) {
1094 g_object_unref(priv->raw);
1095 priv->raw = NULL;
1096 }
1097
1098 G_OBJECT_CLASS(garrow_compressed_input_stream_parent_class)->dispose(object);
1099}
1100
1101static void
1102garrow_compressed_input_stream_set_property(GObject *object,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected