aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog9
-rw-r--r--composer/e-msg-composer.c2
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;