diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-04-10 11:15:12 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-04-11 13:14:41 +0200 |
commit | cfe561a456c9ce61579c8e1207f9a13faf050e8a (patch) | |
tree | ceeee398eb419196e9b2a078f374da232a8698e4 /src/libsystemd/sd-device | |
parent | 07ba8037bf2a2d6a683fa107ee6f2b9545fca23e (diff) |
hashmap: return NULL from destructor
We _always_ return NULL from destructors to allow direct assignments to
the variable holding the object. Especially on hashmaps, which treat NULL
as empty hashmap, this is pretty neat.
Diffstat (limited to 'src/libsystemd/sd-device')
0 files changed, 0 insertions, 0 deletions