diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 10:23:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 10:23:34 +0000 |
commit | 35962ed6b09ac995d663aeb7ab0287743cecc24c (patch) | |
tree | 24a36570c53b15b3bd6e955054f8c4846db0e262 /src/shared/conf-parser.c | |
parent | Adding debian version 252.22-1~deb12u1. (diff) | |
download | systemd-35962ed6b09ac995d663aeb7ab0287743cecc24c.tar.xz systemd-35962ed6b09ac995d663aeb7ab0287743cecc24c.zip |
Merging upstream version 252.23.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/shared/conf-parser.c')
-rw-r--r-- | src/shared/conf-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 5cb41a3..327dc38 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -463,7 +463,7 @@ int hashmap_put_stats_by_path(Hashmap **stats_by_path, const char *path, const s return -ENOMEM; path_copy = strdup(path); - if (!path) + if (!path_copy) return -ENOMEM; r = hashmap_put(*stats_by_path, path_copy, st_copy); |