diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-01-27 12:30:13 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2017-01-27 21:06:09 +0100 |
commit | 2f8f58512dbb478f23149b57d33f788c26c04445 (patch) | |
tree | a604c7511f0eb6a4369ae094366c809fea0b8f38 /ftparchive/contents.cc | |
parent | 4c02370f5558e93afc554318f917468983df35f6 (diff) |
avoid malloc if option whitelist is disabled (default)
Config options are checked in various paths, so making "useless" memory
allocations wastes time and can also cause problems like #852757.
The unneeded malloc was added in ae73a2944a89e0d2406a2aab4a4c082e1e9da3f9.
(We have no explicit malloc here – its std:string doing this internally)
Diffstat (limited to 'ftparchive/contents.cc')
0 files changed, 0 insertions, 0 deletions