On So, 13.03.22 19:14, Tony Rodriguez (unixpro1...@gmail.com) wrote:

> Valgrind is reporting "still reachable" memory leak (2 blocks) when calling
> find_device() and FOREACH_DEVICE_DEVLINK against "systemd-249". In my case,
> they are both called within fstab-generator.c on "systemd-249". Only code
> modifications, on my end, are within fstab-generator.c

The mempool stuff is not really "leaked": it's an allocation cache,
i.e. subsequent calls will reuse the already allocated objects. The
stuff is hence reachable via the allocation cache.

Lennart

--
Lennart Poettering, Berlin

Reply via email to