summaryrefslogtreecommitdiff
path: root/src/basic/random-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-04-13 21:10:33 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-04-13 21:10:33 -0400
commite215d211d25139a46970101525ebdde874daf2f0 (patch)
treed7ad3f12cb324c640d268132eb86dca19425d6ee /src/basic/random-util.c
parentea9b54f827feff046d7d6e5c485d01cf98214762 (diff)
downloadsystemd-e215d211d25139a46970101525ebdde874daf2f0.tar.gz
shared/path-lookup: fix leak
CID #1354671: char **l would be leaked. Also rename l to paths, to make the code easier to read, and do strv deduplication immediately when extending. No need to allocate strings to remove them a few lines down.
Diffstat (limited to 'src/basic/random-util.c')
0 files changed, 0 insertions, 0 deletions