Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3954:99ed24b66363 HEAD
Added asserts
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 28 Jan 2006 23:28:16 +0200 |
parents | d9a7ad93ddde |
children | 295af5c1cce6 |
files | src/imap-login/client.c src/pop3-login/client.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap-login/client.c Sat Jan 28 23:10:41 2006 +0200 +++ b/src/imap-login/client.c Sat Jan 28 23:28:16 2006 +0200 @@ -522,6 +522,8 @@ if (--client->refcount > 0) return TRUE; + i_assert(client->destroyed); + imap_parser_destroy(&client->parser); if (client->input != NULL)
--- a/src/pop3-login/client.c Sat Jan 28 23:10:41 2006 +0200 +++ b/src/pop3-login/client.c Sat Jan 28 23:28:16 2006 +0200 @@ -409,6 +409,8 @@ if (--client->refcount > 0) return TRUE; + i_assert(client->destroyed); + if (client->input != NULL) i_stream_unref(&client->input); if (client->output != NULL)