diff --git a/imap/jmap_api.c b/imap/jmap_api.c index 673d9e7e7e..fe7995d142 100644 --- a/imap/jmap_api.c +++ b/imap/jmap_api.c @@ -2989,6 +2989,7 @@ static int set_upload_rights(const char *accountid) } mailbox_close(&mbox); + free(newacl); return 0; }