summaryrefslogtreecommitdiff
path: root/tests/valgrind
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-10-08 23:23:57 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-10-09 10:54:30 +0200
commit687cdf69689edcaff8e9035af93baf1a9e71cf32 (patch)
tree1bacbdc963a38cd0befc9ddf7e4ed8d98d974fa8 /tests/valgrind
parent94182d6031df0d956a94ecd7ece233e345468961 (diff)
downloadcgit-687cdf69689edcaff8e9035af93baf1a9e71cf32.tar.gz
cgit-687cdf69689edcaff8e9035af93baf1a9e71cf32.tar.bz2
scan-tree: remove useless strdup()
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>
Diffstat (limited to 'tests/valgrind')
0 files changed, 0 insertions, 0 deletions