[evolution/wip-webkit2] EMailMetaRemove - Don't free output of the filter
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip-webkit2] EMailMetaRemove - Don't free output of the filter
- Date: Tue, 14 Jan 2014 15:14:56 +0000 (UTC)
commit b42156f5f2c77454d474c0b9c5c8aac64f902f08
Author: Tomas Popela <tpopela redhat com>
Date: Tue Jan 14 16:14:14 2014 +0100
EMailMetaRemove - Don't free output of the filter
em-format/e-mail-meta-remove-filter.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/em-format/e-mail-meta-remove-filter.c b/em-format/e-mail-meta-remove-filter.c
index 04249f9..2d0f467 100644
--- a/em-format/e-mail-meta-remove-filter.c
+++ b/em-format/e-mail-meta-remove-filter.c
@@ -180,10 +180,8 @@ remove_meta_tag (CamelMimeFilter *filter,
copy_input:
if (backup) {
- gchar *out_backup = g_strndup (in, inend - in - 6);
- *out = out_backup;
+ *out = g_strndup (in, inend - in - 6);
*outlen = inend - in - 6;
- g_free (out_backup);
} else {
*out = (gchar *) in;
*outlen = inend - in;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]