The function sd_journal_close first frees j->files and then indirectly calls detach_location which access j->files. When allocating hashmaps from the pool, this likely goes undetected by valgrind and likely doesn't cause any crashes either. This does crash when the hashmap is allocated with malloc, though.
Thanks! Fixed in git!
Thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.