summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-18 17:14:39 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-11-18 17:14:39 +0000
commit0c2c0e86e9a101d074e68b118c0f73d69434f77b (patch)
treeba122c4c2a4e73e4beb0adc9c5143936d6069d92
parenteaaf8356d1bf52a78956f3dcbcc7a719aa2e0ad9 (diff)
downloadmailutils-0c2c0e86e9a101d074e68b118c0f73d69434f77b.tar.gz
mailutils-0c2c0e86e9a101d074e68b118c0f73d69434f77b.tar.bz2
(mu_message_set_header): Fixed memory leak
-rw-r--r--libmu_scm/mu_message.c2
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
@@ -272,3 +272,3 @@ 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 to:

Send suggestions and report system problems to the System administrator.