From c9d743a93b7dcbd576fd93befc76e02446de0371 Mon Sep 17 00:00:00 2001 From: Ken Murchison Date: Thu, 23 Feb 2023 09:59:55 -0500 Subject: [PATCH] ctl_mboxlist.c: don't free static memory backport of 3be3f16999d724b44c1f009f2eb9c3fe06458825 --- imap/ctl_mboxlist.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/imap/ctl_mboxlist.c b/imap/ctl_mboxlist.c index a0e2f6724f0..2f1e5baa2af 100644 --- a/imap/ctl_mboxlist.c +++ b/imap/ctl_mboxlist.c @@ -993,8 +993,6 @@ static void add_part(ptrarray_t *found, /* found it */ if (override) { /* replace the path with the one containing cyrus.header */ - if (entry->path) - free(entry->path); strcpy(entry->path, path); }