Re: [systemd-devel] [PATCH] fixed hashmap leaks in mmap-cache

2013-08-02 Thread Zbigniew Jędrzejewski-Szmek
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

[systemd-devel] [PATCH] fixed hashmap leaks in mmap-cache

2013-08-01 Thread George McCollister
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