Mercurial > dovecot > original-hg > dovecot-1.2
diff src/plugins/trash/trash-plugin.c @ 4070:71b8faa84ec6 HEAD
Added i_stream_destroy() and o_stream_destroy() and used them instead of
*_stream_unref() where possible. Fixes at least one problem with io_remove()
being called after socket was closed, which caused problems with epoll.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 26 Feb 2006 12:04:59 +0200 |
parents | 928229f8b3e6 |
children | 51306837698b |
line wrap: on
line diff
--- a/src/plugins/trash/trash-plugin.c Sat Feb 25 13:29:05 2006 +0200 +++ b/src/plugins/trash/trash-plugin.c Sun Feb 26 12:04:59 2006 +0200 @@ -260,7 +260,7 @@ trash->name = p_strdup(config_pool, name+1); trash->priority = atoi(t_strdup_until(line, name)); } - i_stream_unref(&input); + i_stream_destroy(&input); (void)close(fd); qsort(array_get_modifyable(&trash_boxes, NULL),