diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-08-27 08:59:45 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-08-27 08:59:45 +0800 |
commit | a1bf7aa6c41783b0d8f26a9c25e18e1ad7372793 (patch) | |
tree | e8ff17c8dd0f9e744f613a2c73314c2037f38196 /camel | |
parent | 6936253be412510e481f5893062451e9d5f3a087 (diff) | |
download | gsoc2013-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/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-mime-utils.c | 2 |
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); } |