mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 06:48:47 +02:00
Avoid memory leak.
This commit is contained in:
@@ -469,6 +469,8 @@ void DoPsCal(void)
|
||||
/* If it's an unknown special, ignore */
|
||||
if (c->special == SPECIAL_UNKNOWN) {
|
||||
DBufFree(&buf);
|
||||
free(c);
|
||||
c = NULL;
|
||||
continue;
|
||||
}
|
||||
if (c->daynum != CurDay) {
|
||||
|
||||
Reference in New Issue
Block a user