Skip to content

Commit

Permalink
imap: Free search updates on CLOSE
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen authored and GitLab committed Feb 6, 2017
1 parent b748f91 commit 9aa91e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/imap/cmd-close.c
Expand Up @@ -31,6 +31,8 @@ bool cmd_close(struct client_command_context *cmd)
if (mailbox_sync(mailbox, 0) < 0)
client_send_untagged_storage_error(client, storage);

client_search_updates_free(client);

mailbox_free(&mailbox);
client_update_mailbox_flags(client, NULL);

Expand Down

0 comments on commit 9aa91e3

Please sign in to comment.