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/e-msg-composer.c | |
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/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |