On Thu, Aug 01, 2013 at 12:40:01PM -0500, George McCollister wrote:
> hashmap_free() wasn't being called on m->contexts and m->fds resulting
> in a leak.
Applied, thanks.
>
> To reproduce do:
> while(1) {
> sd_journal_open(&j, SD_JOURNAL_LOCAL_ONLY);
> sd_journal
hashmap_free() wasn't being called on m->contexts and m->fds resulting
in a leak.
To reproduce do:
while(1) {
sd_journal_open(&j, SD_JOURNAL_LOCAL_ONLY);
sd_journal_close(j);
}
Memory usage will increase until OOM.
Signed-off-by: George McCollister