[evolution/wip-webkit2] Don't free const gchar * in mail-to-task plugin
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip-webkit2] Don't free const gchar * in mail-to-task plugin
- Date: Thu, 31 Oct 2013 12:48:27 +0000 (UTC)
commit 23e1343580cce9e0c7863f4a5193dc525bb65180
Author: Tomas Popela <tpopela redhat com>
Date: Thu Oct 31 13:43:27 2013 +0100
Don't free const gchar * in mail-to-task plugin
plugins/mail-to-task/mail-to-task.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c
index f2185fa..4d4cdad 100644
--- a/plugins/mail-to-task/mail-to-task.c
+++ b/plugins/mail-to-task/mail-to-task.c
@@ -1044,7 +1044,6 @@ do_mail_to_event (AsyncData *data)
g_object_unref (folder);
g_object_unref (data->source);
- g_free (data->selected_text);
g_free (data);
data = NULL;
@@ -1220,7 +1219,7 @@ mail_to_event (ECalClientSourceType source_type,
/* FIXME move data->selected_text to const gchar * */
if (uids->len == 1)
- data->selected_text = g_strdup (get_selected_text (reader));
+ data->selected_text = get_selected_text (reader);
else
data->selected_text = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]