Re: find_device() and FOREACH_DEVICE_DEVLINK memory leaks on "systemd-249"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On So, 13.03.22 19:14, Tony Rodriguez (unixpro1970@xxxxxxxxx) 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



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux