diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-11-18 17:14:39 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-11-18 17:14:39 +0000 |
commit | 0c2c0e86e9a101d074e68b118c0f73d69434f77b (patch) | |
tree | ba122c4c2a4e73e4beb0adc9c5143936d6069d92 /libmu_scm/mu_message.c | |
parent | eaaf8356d1bf52a78956f3dcbcc7a719aa2e0ad9 (diff) | |
download | mailutils-0c2c0e86e9a101d074e68b118c0f73d69434f77b.tar.gz mailutils-0c2c0e86e9a101d074e68b118c0f73d69434f77b.tar.bz2 |
(mu_message_set_header): Fixed memory leak
Diffstat (limited to 'libmu_scm/mu_message.c')
-rw-r--r-- | libmu_scm/mu_message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmu_scm/mu_message.c b/libmu_scm/mu_message.c index 76597ab1d..e99fb1787 100644 --- a/libmu_scm/mu_message.c +++ b/libmu_scm/mu_message.c @@ -270,7 +270,7 @@ SCM_DEFINE (mu_message_set_header, "mu-message-set-header", 3, 1, 0, } message_get_header (msg, &hdr); - header_set_value (hdr, SCM_STRING_CHARS (HEADER), strdup (SCM_STRING_CHARS (VALUE)), + header_set_value (hdr, SCM_STRING_CHARS (HEADER), SCM_STRING_CHARS (VALUE), replace); return SCM_UNSPECIFIED; } |