summaryrefslogtreecommitdiffstats
path: root/src/fstring.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-01-16 17:02:26 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-01-16 17:02:26 +0300
commitfe5ad5874aad220fb12a259e607f89ce5fae7465 (patch)
treee22215da4087e82926bf3797469a4e00914e8c1e /src/fstring.c
parentd0681272065a04de5e8249b782ac7f9efa938555 (diff)
downloadrspamd-fe5ad5874aad220fb12a259e607f89ce5fae7465.tar.gz
rspamd-fe5ad5874aad220fb12a259e607f89ce5fae7465.zip
* Add simple utility for sending mail to rspamd
* Fix some errors in freeing message object
Diffstat (limited to 'src/fstring.c')
-rw-r--r--src/fstring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fstring.c b/src/fstring.c
index cad7c8710..2935fe8e6 100644
--- a/src/fstring.c
+++ b/src/fstring.c
@@ -188,6 +188,7 @@ fstralloc (memory_pool_t *pool, size_t len)
}
res->size = len;
+ res->len = 0;
return res;
}