From: John Keeping Date: Thu, 8 Oct 2015 22:23:57 +0000 (+0100) Subject: scan-tree: remove useless strdup() X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/687cdf69689edcaff8e9035af93baf1a9e71cf32?hp=687cdf69689edcaff8e9035af93baf1a9e71cf32 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 ---