diff options
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); } |