mirror of
https://github.com/systemd/systemd.git
synced 2026-08-05 07:30:30 +00:00
journald: no need to check ptr for non-NULL before _unref(), as function does that anyway
This commit is contained in:
@@ -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] = {
|
||||
|
||||
Reference in New Issue
Block a user