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



Le lun 03/06/2002 à 16:27, Frederic Crozat a écrit :
Le mer 22/05/2002 à 06:44, Jeffrey Stedfast a écrit :
I'm confirming that the problem does seem to exist. But, it only exists
on Mandrake afaik.

I don't know why it would only affect Mandrake either, unless they
modified it or unless they linked against the wrong version of libgal?

It seems our new gcc 3.1 compiler has triggered a bug in Evolution code
;))

Old code was obviously wrong since it was always g_freeing the
non-dynamic gnome-vfs file info structure (the strange thing is it was
never crashing before gcc 3.1 !!)

Attached is the patch to fix stable branch (the problem is also present
in HEAD branch..).

Can I commit on both branches ?

Grr, I forgot the patch


-- 
Frédéric Crozat
MandrakeSoft
--- 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;


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