[systemd-devel] Memory leak in in sd-bus.c:sd_bus_open_user?

Lennart Poettering lennart at poettering.net
Thu Mar 13 12:09:17 PDT 2014


On Thu, 13.03.14 20:56, Vetoshkin Nikita (nikita.vetoshkin at gmail.com) wrote:

> Hi!
> 
> Was lurking trough sources and I think I found memory leak
> in sd_bus_open_user if both DBUS_SESSION_BUS_ADDRESS and XDG_RUNTIME_DIR
> env variables are not available and ENABLE_KDBUS is not defined. We simply
> return -ECONNREFUSED without falling to fail label.
> 
> Sorry if I read it all wrong.

Nope! You are right!

Thanks! Fixed!

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list