On Thu, 22.05.14 15:29, Tom Gundersen (t...@jklm.no) wrote: > Let's keep this behavior consistent across our libraries. > > In order to keep the refcounting working, a DONT_DESTROY macro similar > to the one in sd-bus was introduced.
The DON_DESTROY stuff you only really need when you dispatch some calback from a function call. It's there to make sure that the callback can drop the final ref for the object, but you can still access the object after it finished. There's no point in placing the macro in all functions, that's entirely unnecessary. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel