journald: no need to check ptr for non-NULL before _unref(), as function does that anyway
This commit is contained in:
parent
e4d9c98512
commit
e3d78cb160
|
@ -2090,8 +2090,7 @@ void server_done(Server *s) {
|
|||
free(s->runtime_storage.path);
|
||||
free(s->system_storage.path);
|
||||
|
||||
if (s->mmap)
|
||||
mmap_cache_unref(s->mmap);
|
||||
mmap_cache_unref(s->mmap);
|
||||
}
|
||||
|
||||
static const char* const storage_table[_STORAGE_MAX] = {
|
||||
|
|
Loading…
Reference in New Issue