Mercurial > dovecot > core-2.2
diff src/lib-imap/imap-bodystructure.c @ 6142:6c0bfc35af03 HEAD
Removed memory pool parameter from iostreams. Default pool was almost always
used, and the stream usually required destroying anyway so it didn't even
make freeing memory easier.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 24 Jul 2007 06:59:56 +0300 |
parents | 9214044ce1f1 |
children | 65c69a53a7be |
line wrap: on
line diff
--- a/src/lib-imap/imap-bodystructure.c Tue Jul 24 06:49:00 2007 +0300 +++ b/src/lib-imap/imap-bodystructure.c Tue Jul 24 06:59:56 2007 +0300 @@ -695,8 +695,7 @@ const struct imap_arg *args; int ret; - input = i_stream_create_from_data(pool_datastack_create(), - bodystructure, strlen(bodystructure)); + input = i_stream_create_from_data(bodystructure, strlen(bodystructure)); (void)i_stream_read(input); parser = imap_parser_create(input, NULL, (size_t)-1);