Github user gadLinux commented on a diff in the pull request:

    https://github.com/apache/thrift/pull/1200#discussion_r102326459
  
    --- Diff: lib/c_glib/src/thrift/c_glib/protocol/thrift_protocol.c ---
    @@ -549,12 +549,27 @@ thrift_protocol_init (ThriftProtocol *protocol)
     }
     
     static void
    +thrift_protocol_dispose (GObject *gobject)
    +{
    +  ThriftProtocol *self = THRIFT_PROTOCOL (gobject);
    +
    +  g_clear_object(&self->transport);
    +
    +  /* Always chain up to the parent class; there is no need to check if
    +   * the parent class implements the dispose() virtual function: it is
    +   * always guaranteed to do so
    +   */
    +  G_OBJECT_CLASS (thrift_protocol_parent_class)->dispose(gobject);
    --- End diff --
    
    Yes I forgot that! Sorry.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to