diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-11-28 19:41:20 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-12-01 00:25:51 +0100 |
commit | c9d5c9c0e19eea79ca0f09fe58e5c0b76b8001e2 (patch) | |
tree | 90466e55295734e2853cf570eb96d5790d8facc4 /src/shared | |
parent | dc68fed25db7d7a84b4da0e7ed4e73152773a561 (diff) |
core: make unit_free() accept NULL pointers
We generally try to make our destructors robust regarding NULL pointers, much
in the same way as glibc's free(). Do this also for unit_free().
Follow-up for #4748.
Diffstat (limited to 'src/shared')
0 files changed, 0 insertions, 0 deletions