Don't leak folder_uri.

2006-12-17  Felix Riemann  <friemann@cvs.gnome.org>

	* shell/eog-window.c: (save_as_uri_selection_dialog):
	Don't leak folder_uri.
This commit is contained in:
Felix Riemann 2006-12-17 12:08:40 +00:00 committed by Felix Riemann
parent 45c11f6c8f
commit 022cada2ed
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-12-17 Felix Riemann <friemann@cvs.gnome.org>
* shell/eog-window.c: (save_as_uri_selection_dialog):
Don't leak folder_uri.
2006-12-17 Jan Arne Petersen <jpetersen@jpetersen.org>
* configure.in: Remove help/de/Makefile as it has been converted to

View file

@ -1664,6 +1664,7 @@ save_as_uri_selection_dialog (EogWindow *window, EogImage *image, char **uri, Gd
dlg = eog_file_chooser_new (GTK_FILE_CHOOSER_ACTION_SAVE);
gtk_file_chooser_set_current_folder_uri (GTK_FILE_CHOOSER (dlg),
folder_uri);
g_free (folder_uri);
while (!success) {
success = TRUE;
if (*uri != NULL) {