diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2014-04-09 13:12:07 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2014-04-11 10:53:10 +0300 |
commit | e5b04c8de83aa17e324bae95f18a822931fb8078 (patch) | |
tree | eee925e6853fb7befcab251bf640e8dfe4a9e360 /src/bus-driverd | |
parent | 48a4612e6b67ae81b93ee8e8a4b3f8efa5324270 (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/bus-driverd')
0 files changed, 0 insertions, 0 deletions