summaryrefslogtreecommitdiffstats
path: root/src/sysusers
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-04-18 17:59:35 +0200
committerLennart Poettering <lennart@poettering.net>2018-04-18 18:00:05 +0200
commitd9bcc5a6a2ec95ea34b2b263e297332b74eea50f (patch)
tree2346b4af2f29cab8408739edbdb861435b4e27f9 /src/sysusers
parentsysusers: clarify that we knowingly ignore process_items() return values (diff)
downloadsystemd-d9bcc5a6a2ec95ea34b2b263e297332b74eea50f.tar.xz
systemd-d9bcc5a6a2ec95ea34b2b263e297332b74eea50f.zip
sysusers: fix minor memory leak
Diffstat (limited to 'src/sysusers')
-rw-r--r--src/sysusers/sysusers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c
index 35382f41b6..cf86c4f81d 100644
--- a/src/sysusers/sysusers.c
+++ b/src/sysusers/sysusers.c
@@ -1986,6 +1986,8 @@ finish:
free_database(database_user, database_uid);
free_database(database_group, database_gid);
+ free(uid_range);
+
free(arg_root);
return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;