After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646458 - Leak in gtkfilechooserdefault.c: list_row_activated
Leak in gtkfilechooserdefault.c: list_row_activated
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2011-04-01 17:12 UTC by Morten Welinder
Modified: 2011-04-01 22:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[filechooser] Don't leak a GFile (1012 bytes, patch)
2011-04-01 19:09 UTC, Federico Mena Quintero
none Details | Review

Description Morten Welinder 2011-04-01 17:12:27 UTC
This branch leaks a file ref:

  if (is_folder && file)
    {
      change_folder_and_display_error (impl, file, FALSE);
      return;
    }
Comment 1 Federico Mena Quintero 2011-04-01 19:09:04 UTC
Created attachment 184887 [details] [review]
[filechooser] Don't leak a GFile

Reported by Morten Welinder <mortenw@gnome.org>
Comment 2 Federico Mena Quintero 2011-04-01 22:44:05 UTC
Pushed to master.