diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-12-30 22:15:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-12-30 22:16:04 +0100 |
commit | 783d2675eff73d1937bf8f78b368b1004c2d28c5 (patch) | |
tree | d463582dec4c7801ca8f31cbcb0af03923a08569 /src/journal/journal-rate-limit.c | |
parent | 8b18eb674ce4d14e4819e102a0d6679a0fd2e6ce (diff) |
journal: fix a few bad memory accesses and leaks
Diffstat (limited to 'src/journal/journal-rate-limit.c')
-rw-r--r-- | src/journal/journal-rate-limit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/journal-rate-limit.c b/src/journal/journal-rate-limit.c index f69ab2770f..243ff2a378 100644 --- a/src/journal/journal-rate-limit.c +++ b/src/journal/journal-rate-limit.c @@ -111,6 +111,8 @@ void journal_rate_limit_free(JournalRateLimit *r) { while (r->lru) journal_rate_limit_group_free(r->lru); + + free(r); } static bool journal_rate_limit_group_expired(JournalRateLimitGroup *g, usec_t ts) { |