mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 14:59:20 +02:00
Free trigger resources if we exit early because of expired reminder.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user