Re: [evolution-patches] Evolution - mail, fixes a multiple free in folder ops.
- From: Not Zed <notzed ximian com>
- To: Arunprakash <arunp novell com>
- Cc: evolution-patches <evolution-patches lists ximian com>
- Subject: Re: [evolution-patches] Evolution - mail, fixes a multiple free in folder ops.
- Date: Fri, 29 Jul 2005 16:39:44 +0800
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]