chiark / gitweb /
sd-dhcp-client: return NULL from _unref() like the other sd-* libraries
authorTom Gundersen <teg@jklm.no>
Thu, 22 May 2014 13:18:28 +0000 (15:18 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 24 Jun 2014 15:05:39 +0000 (17:05 +0200)
commit574cc928887851269c5919123dbdf8e1b2713b23
treef02b1a766239b3342f1291a30a94bcbcbc852cc1
parent3577de7ac39c54821e1d1d946db65e109dfb94b2
sd-dhcp-client: return NULL from _unref() like the other sd-* libraries

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.
src/libsystemd-network/dhcp-internal.h
src/libsystemd-network/sd-dhcp-client.c