Fix leaked string. Fixes bug #402565.

2007-01-30  Felix Riemann  <friemann@svn.gnome.org>

	* modules/printbackends/file/gtkprintbackendfile.c:
	(file_printer_get_options): Fix leaked string. Fixes bug #402565.

svn path=/trunk/; revision=17238
This commit is contained in:
Felix Riemann 2007-01-30 20:19:11 +00:00 committed by Felix Riemann
parent 1a2274e7be
commit c98925bcd2
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-01-30 Felix Riemann <friemann@svn.gnome.org>
* modules/printbackends/file/gtkprintbackendfile.c:
(file_printer_get_options): Fix leaked string. Fixes bug #402565.
2007-01-30 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):

View File

@ -534,6 +534,7 @@ file_printer_get_options (GtkPrinter *printer,
option = gtk_printer_option_new ("gtk-main-page-custom-input", _("File"),
GTK_PRINTER_OPTION_TYPE_FILESAVE);
gtk_printer_option_set (option, uri);
g_free (uri);
option->group = g_strdup ("GtkPrintDialogExtension");
gtk_printer_option_set_add (set, option);