aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-08-27 08:59:45 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-08-27 08:59:45 +0800
commita1bf7aa6c41783b0d8f26a9c25e18e1ad7372793 (patch)
treee8ff17c8dd0f9e744f613a2c73314c2037f38196 /camel
parent6936253be412510e481f5893062451e9d5f3a087 (diff)
downloadgsoc2013-evolution-a1bf7aa6c41783b0d8f26a9c25e18e1ad7372793.tar.gz
gsoc2013-evolution-a1bf7aa6c41783b0d8f26a9c25e18e1ad7372793.tar.zst
gsoc2013-evolution-a1bf7aa6c41783b0d8f26a9c25e18e1ad7372793.zip
Use `g_free()' instead of `free()' in the `header_decode_text()'
helper function. svn path=/trunk/; revision=5061
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-utils.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index a5edabe6e9..0406a49168 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-26 Ettore Perazzoli <ettore@helixcode.com>
+
+ * camel-mime-utils.c (header_decode_text): Use `g_free()', not
+ `free()', to free `decword'.
+
2000-08-25 Peter Williams <peterw@helixcode.com>
* camel.c (camel_init): Don't call unicode_init; code in e-util
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 781ae59c23..90d7496ce3 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -932,7 +932,7 @@ header_decode_text(const char *in, int inlen)
if (decword) {
out = g_string_append_len(out, inptr, encstart-inptr);
out = g_string_append_len(out, decword, strlen(decword));
- free(decword);
+ g_free (decword);
} else {
out = g_string_append_len(out, inptr, encend-inptr+2);
}