journald: no need to check ptr for non-NULL before _unref(), as function does that anyway

This commit is contained in:
Lennart Poettering 2019-04-05 15:37:20 +02:00
parent e4d9c98512
commit e3d78cb160
1 changed files with 1 additions and 2 deletions

View File

@ -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] = {