From: Timo Sirainen Date: Tue, 27 Dec 2022 17:03:26 +0000 (-0500) Subject: lib-index: mail_index_update_keywords() - Add missing data stack frame X-Git-Tag: 2.4.0~3223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2b27ad31cbc41dc68f03ce64703442d5897eaa8;p=thirdparty%2Fdovecot%2Fcore.git lib-index: mail_index_update_keywords() - Add missing data stack frame --- diff --git a/src/lib-index/mail-index-transaction-update.c b/src/lib-index/mail-index-transaction-update.c index 128d69f372..dfceaf23e5 100644 --- a/src/lib-index/mail-index-transaction-update.c +++ b/src/lib-index/mail-index-transaction-update.c @@ -1192,11 +1192,11 @@ void mail_index_update_keywords(struct mail_index_transaction *t, uint32_t seq, case MODIFY_REPLACE: /* split this into add+remove. remove all existing keywords not included in the keywords list */ - if (seq < t->first_new_seq) { + if (seq < t->first_new_seq) T_BEGIN { /* remove the ones currently in index */ remove_keywords = keyword_update_remove_existing(t, seq); unref_keywords = remove_keywords; - } + } T_END; /* remove from all changes we've done in this transaction */ array_foreach_modifiable(&t->keyword_updates, u) seq_range_array_remove(&u->add_seq, seq);