Free trigger resources if we exit early because of expired reminder.

This commit is contained in:
Dianne Skoll
2025-11-04 17:07:09 -05:00
parent 57e93553bf
commit 326604fe18

View File

@@ -2080,6 +2080,7 @@ static int DoCalRem(ParsePtr p, int col)
}
if (dse < 0) {
/* Expired */
FreeTrig(&trig);
return OK;
}
} else {
@@ -2096,6 +2097,7 @@ static int DoCalRem(ParsePtr p, int col)
}
if (dse < 0) {
/* Expired */
FreeTrig(&trig);
return OK;
}
}