Make sure filename is initialized before use.

2005-02-10  Manish Singh  <yosh@gimp.org>

        * app/file/file-save.c (file_save_as): Make sure filename is
        initialized before use.
This commit is contained in:
Manish Singh 2005-02-10 23:47:30 +00:00 committed by Manish Singh
parent 2b84ce5029
commit dd81c98a13
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-02-10 Manish Singh <yosh@gimp.org>
* app/file/file-save.c (file_save_as): Make sure filename is
initialized before use.
2005-02-10 Michael Natterer <mitch@gimp.org>
* plug-ins/uri/uri-backend-gnomevfs.c: use gimp_memsize_to_string()

View File

@ -109,7 +109,7 @@ file_save_as (GimpImage *gimage,
Argument *return_vals;
GimpPDBStatusType status;
gint i;
gchar *filename;
gchar *filename = NULL;
gchar *raw_filename_with_ext;
gchar *uri_with_ext;