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

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Aug 2 08:28:44 PDT 2013


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_close(j);
> 	}
I turned this into a minimalistic test, just to exercise more code
paths in the test suite.

Zbyszek


More information about the systemd-devel mailing list