[Gtk2-perl-bugs] [Bug 574305] New: Gtk2::TreeModelFilter::new() reference leak

View: New views
3 Messages — Rating Filter:   Alert me  

[Gtk2-perl-bugs] [Bug 574305] New: Gtk2::TreeModelFilter::new() reference leak

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=574305

  gnome-perl | Gtk2 | Ver: unspecified
           Summary: Gtk2::TreeModelFilter::new() reference leak
           Product: gnome-perl
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Gtk2
        AssignedTo: gtk2-perl-bugs@...
        ReportedBy: user42@...
         QAContact: gtk2-perl-bugs@...
     GNOME version: Unspecified
   GNOME milestone: Unspecified


When a Gtk2::TreeModelFilter is created by Gtk2::TreeModelFilter::new() I
believe it's not destroyed when no longer referenced from perl.  Failing .t
case in the diff below.

I think it's just a case of wanting "_noinc" on the return, since
gtk_tree_model_filter_new() is a constructor and returns a ref_count of 1 ready
to take over.  Change in the diff below seems to work for me.


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=574305.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 574305] Gtk2::TreeModelFilter::new() reference leak

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=574305

  gnome-perl | Gtk2 | Ver: unspecified




------- Comment #1 from Kevin Ryde  2009-03-05 20:57 UTC -------
Created an attachment (id=130153)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=130153&action=view)
diff and test case


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=574305.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs

[Gtk2-perl-bugs] [Bug 574305] Gtk2::TreeModelFilter::new() reference leak

by Bugzilla from bugzilla-daemon@bugzilla.gnome.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=574305

  gnome-perl | Gtk2 | Ver: unspecified

Torsten Schoenfeld changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kaffeetisch@...
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from Torsten Schoenfeld  2009-03-08 18:01 UTC -------
Committed.  Thanks!


--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=574305.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Gtk2-perl-bugs mailing list
Gtk2-perl-bugs@...
https://lists.sourceforge.net/lists/listinfo/gtk2-perl-bugs