openbsd-ports/mail/dovecot/patches/patch-src_imap_imap-search_c
pea fe29c7c3f5 Some fixes from upstream:
- imap: Fixed a memory leak in ESEARCH.
- imap/pop3-login: Don't crash if passdb returns proxy field without host.
- lib-index: Added a missing sanity check for expunge-guid record's uid.
  This fixes a non-self healing assert-crash.
- master: Delete also pipes from login_dir (left by v2.0).

From Brad (maintainer), ok ajacoutot@
2011-01-04 13:59:17 +00:00

12 lines
440 B
Plaintext

$OpenBSD: patch-src_imap_imap-search_c,v 1.1 2011/01/04 13:59:17 pea Exp $
--- src/imap/imap-search.c.orig Thu Dec 9 17:37:18 2010
+++ src/imap/imap-search.c Thu Dec 9 17:37:44 2010
@@ -283,6 +283,7 @@ static void imap_search_send_result(struct imap_search
}
str_append(str, "\r\n");
o_stream_send(client->output, str_data(str), str_len(str));
+ str_free(&str);
}
static void search_update_mail(struct imap_search_context *ctx)