Re: [evolution-patches] Evolution - mail, fixes a multiple free in folder ops.




No need for the temporary variable.

g_object_set_data_full(..., "full_name",
g_strudup(folder->full_name) ... etc)

will suffice.

On Fri, 2005-07-29 at 13:55 +0530, Arunprakash wrote:
> -       g_object_set_data_full ((GObject *) dialog, "full_name",
> folder->full_name, g_free);
> +       folder_name = g_strdup (folder->full_name);
> +       g_object_set_data_full ((GObject *) dialog, "full_name",
> folder_name, g_free); 




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