]> gitweb.ps.run Git - ps-cgit/commitdiff
scan-tree: remove useless strdup()
authorJohn Keeping <john@keeping.me.uk>
Thu, 8 Oct 2015 22:23:57 +0000 (23:23 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 9 Oct 2015 08:54:30 +0000 (10:54 +0200)
parse_configfile() takes a "const char *" and doesn't hold any
references to it after it returns; there is no reason to pass it a
duplicate.

Coverity-id: 13941
Signed-off-by: John Keeping <john@keeping.me.uk>

No differences found