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



Modified fix committed to both branches.

Thanks Frederic,

Jeff

On Mon, 2002-06-03 at 14:29, Ettore Perazzoli wrote:
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
-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com





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