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:
  Show dependency tree
 
Reported: 2011-04-01 17:12 UTC by Morten Welinder
Modified: 2011-04-01 22:44 UTC (History)
0 users

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 | Diff | 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.

Note You need to log in before you can comment on or make changes to this bug.