diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:39:12 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-29 09:39:12 +0200 |
commit | 5bd5551630c55344a11f99565d3c53acb32c0e44 (patch) | |
tree | 8d6c23d6ffc4381b6738b64678c3abdf9fefe446 /src/stats.c | |
parent | 1aa3457346b6c88d4d43e6faf5cde2ae95f36275 (diff) | |
download | mpd-5bd5551630c55344a11f99565d3c53acb32c0e44.tar.gz mpd-5bd5551630c55344a11f99565d3c53acb32c0e44.tar.xz mpd-5bd5551630c55344a11f99565d3c53acb32c0e44.zip |
tag: static directory name
While parsing the tag cache, don't allocate the directory name from
the heap, but copy it into a buffer on the stack. This reduces heap
fragmentation by 1%.
Diffstat (limited to 'src/stats.c')
0 files changed, 0 insertions, 0 deletions