From 3de64f322eac7e5c0fb037dad16117446798e52c Mon Sep 17 00:00:00 2001 From: Jan Radon Date: Fri, 18 Jan 2019 11:51:58 +0100 Subject: [PATCH] #233: in case copy fails due to object does not exist. allocated mail_object was not freed --- src/storage-rbox/rbox-copy.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/storage-rbox/rbox-copy.cpp b/src/storage-rbox/rbox-copy.cpp index 3c89764f..86c06940 100644 --- a/src/storage-rbox/rbox-copy.cpp +++ b/src/storage-rbox/rbox-copy.cpp @@ -324,7 +324,6 @@ static int rbox_mail_storage_try_copy(struct mail_save_context **_ctx, struct ma if (ctx->moving != TRUE) { if (copy_mail(ctx, rados_storage, rmail, &ns_src, &ns_dest) < 0) { FUNC_END_RET("ret == -1, copy mail failed"); - i_debug("OK COPY MAIL FAILED"); return -1; } }