dovecot: Removed t_push/t_pop which could have caused crashes

dovecot at dovecot.org dovecot at dovecot.org
Mon Dec 3 16:11:36 EET 2007


details:   http://hg.dovecot.org/dovecot/rev/751e773f50b2
changeset: 6917:751e773f50b2
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Dec 03 16:11:32 2007 +0200
description:
Removed t_push/t_pop which could have caused crashes

diffstat:

1 file changed, 2 deletions(-)
src/plugins/fts-squat/squat-uidlist.c |    2 --

diffs (19 lines):

diff -r 0b8a78914db7 -r 751e773f50b2 src/plugins/fts-squat/squat-uidlist.c
--- a/src/plugins/fts-squat/squat-uidlist.c	Mon Dec 03 16:09:21 2007 +0200
+++ b/src/plugins/fts-squat/squat-uidlist.c	Mon Dec 03 16:11:32 2007 +0200
@@ -1187,7 +1187,6 @@ int squat_uidlist_get_seqrange(struct sq
 	const uint32_t *tmp_uids;
 	unsigned int i, count;
 
-	t_push();
 	t_array_init(&tmp_uid_arr, 128);
 	if (squat_uidlist_get(uidlist, uid_list_idx, &tmp_uid_arr) < 0) {
 		t_pop();
@@ -1204,7 +1203,6 @@ int squat_uidlist_get_seqrange(struct sq
 		}
 		array_append(seq_range_arr, &range, 1);
 	}
-	t_pop();
 	return 0;
 }
 


More information about the dovecot-cvs mailing list