Re: [Evolution-patches] Re: [Evolution] 1.0.5 problems



On Mon, 2002-06-03 at 10:31, Frederic Crozat wrote:
--- evolution-1.0.5/composer/e-msg-composer.c.orig	2002-06-03 16:05:37.000000000 +0200
+++ evolution-1.0.5/composer/e-msg-composer.c	2002-06-03 16:06:10.000000000 +0200
@@ -3898,7 +3898,6 @@
 		gchar *type;
 
 		type = g_strdup (gnome_vfs_file_info_get_mime_type (&info));
-		gnome_vfs_file_info_unref (&info);
 		return type;
 	} else
 		return NULL;
This will leak.  I think you want gnome_vfs_file_info_clear (&info) there instead.

-- Ettore

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]