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 594961 - GtkFileChooser (Button) leaks memory and handles on Windows
GtkFileChooser (Button) leaks memory and handles on Windows
Status: RESOLVED DUPLICATE of bug 554618
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.16.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
filechooser-windows-testing-needed
Depends on:
Blocks:
 
 
Reported: 2009-09-12 03:00 UTC by bichinhoverde
Modified: 2014-02-21 19:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description bichinhoverde 2009-09-12 03:00:13 UTC
Tor Lillqvist asked me to open a new bug report for this, so here it is.

This bug is present on Windows, GTK+ version 2.16.6, when using
gtk_file_chooser_button.

Every time you click on the button and then close the dialog, it uses more
memory and opens more handles.

Code:

#include <gtk/gtk.h>
int main (int argc, char **argv) {
  GtkWidget *window, *chooser1;
  gtk_init(&argc, &argv);
  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  chooser1 = gtk_file_chooser_button_new ("Open",
GTK_FILE_CHOOSER_ACTION_OPEN);
  gtk_container_add (GTK_CONTAINER (window), chooser1);
  gtk_widget_show_all (window);
  gtk_main();
  return 0;
}
Comment 1 Luis Menina 2012-10-17 08:39:56 UTC
Thanks for reporting this bug. Could you please try to repoduce it with a more recent version of GTK 2.x (and 3.x if you can)?
Comment 2 William Jon McCann 2014-02-21 19:29:17 UTC

*** This bug has been marked as a duplicate of bug 554618 ***