diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-13 21:10:33 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-13 21:10:33 -0400 |
commit | e215d211d25139a46970101525ebdde874daf2f0 (patch) | |
tree | d7ad3f12cb324c640d268132eb86dca19425d6ee /src/basic/random-util.c | |
parent | ea9b54f827feff046d7d6e5c485d01cf98214762 (diff) | |
download | systemd-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