diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-06-04 02:33:50 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-06-04 02:33:50 +0800 |
commit | 16b71d427196f6c67619b0217a907a863e59ced1 (patch) | |
tree | a71cf87b85eed6f865044c284eb1ef9a316b50df /composer | |
parent | 1d8e220e443a123ee4fb9f25aa92e5c9bbc42463 (diff) | |
download | gsoc2013-evolution-16b71d427196f6c67619b0217a907a863e59ced1.tar gsoc2013-evolution-16b71d427196f6c67619b0217a907a863e59ced1.tar.gz gsoc2013-evolution-16b71d427196f6c67619b0217a907a863e59ced1.tar.bz2 gsoc2013-evolution-16b71d427196f6c67619b0217a907a863e59ced1.tar.lz gsoc2013-evolution-16b71d427196f6c67619b0217a907a863e59ced1.tar.xz gsoc2013-evolution-16b71d427196f6c67619b0217a907a863e59ced1.tar.zst gsoc2013-evolution-16b71d427196f6c67619b0217a907a863e59ced1.zip |
Use gnome_vfs_file_info_clear() instead of gnome_vfs_file_info_unref() so
2002-06-03 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_guess_mime_type): Use
gnome_vfs_file_info_clear() instead of gnome_vfs_file_info_unref()
so that we don't try and free static data.
svn path=/trunk/; revision=17085
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 9 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 09c28c429a..2b44ab0f2e 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,6 +1,13 @@ +2002-06-03 Jeffrey Stedfast <fejj@ximian.com> + + * e-msg-composer.c (e_msg_composer_guess_mime_type): Use + gnome_vfs_file_info_clear() instead of gnome_vfs_file_info_unref() + so that we don't try and free static data. + 2002-05-30 Not Zed <NotZed@Ximian.com> - * e-msg-composer.c (build_message): Changes for multipart/signed api changes. + * e-msg-composer.c (build_message): Changes for multipart/signed + api changes. 2002-05-16 Ettore Perazzoli <ettore@ximian.com> diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 8df40f7064..6966bee83c 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -4224,7 +4224,7 @@ e_msg_composer_guess_mime_type (const gchar *file_name) gchar *type; type = g_strdup (gnome_vfs_file_info_get_mime_type (&info)); - gnome_vfs_file_info_unref (&info); + gnome_vfs_file_info_clear (&info); return type; } else return NULL; |