aboutsummaryrefslogtreecommitdiffstats
path: root/imap-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap-send.c')
-rw-r--r--imap-send.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/imap-send.c b/imap-send.c
index da3e7ec17e..e602edc4be 100644
--- a/imap-send.c
+++ b/imap-send.c
@@ -1555,6 +1555,7 @@ int cmd_main(int argc, const char **argv)
}
if (all_msgs.len == 0) {
+ strbuf_release(&all_msgs);
fprintf(stderr, "nothing to send\n");
ret = 1;
goto out;