Prevent freeing a possible invalid pointer from journald Upstream-commit: f67eb69fe365b38fbbe31dd0b3afc6588711dcd3 Component: engine