[systemd-devel] [PATCH] libabc: Make things hold a reference to their context

Kay Sievers kay at vrfy.org
Tue Feb 3 14:11:33 PST 2015


On Mon, Dec 8, 2014 at 10:12 PM, Josh Triplett <josh at joshtriplett.org> wrote:
> The sample libabc includes functions to get a "thing", as a sample
> sub-object of the overall library context.  Each "thing" has a reference
> to the parent library context, and a function to return that reference.
> Given that, abc_thing_new_from_string should call abc_ref, and
> abc_thing_unref should call abc_unref when freeing a thing.
> ---
>  src/libabc.c | 3 ++-

Applied.

Thanks,
Kay


More information about the systemd-devel mailing list