summaryrefslogtreecommitdiff
path: root/src/update-utmp/update-utmp.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2014-04-09 13:12:07 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2014-04-11 10:53:10 +0300
commite5b04c8de83aa17e324bae95f18a822931fb8078 (patch)
treeeee925e6853fb7befcab251bf640e8dfe4a9e360 /src/update-utmp/update-utmp.c
parent48a4612e6b67ae81b93ee8e8a4b3f8efa5324270 (diff)
sd-dhcp-client: Add reference counting for DHCP
The DHCP library user can decide to free the DHCP client any time the callback is called. After the callback has been called, other computations may still be needed - the best example being a full restart of the DHCP procedure in case of lease expiry. Fix this by introducing proper reference counting. Properly handle a returned NULL from the notify and stop functions if the DHCP client was freed.
Diffstat (limited to 'src/update-utmp/update-utmp.c')
0 files changed, 0 insertions, 0 deletions