aboutsummaryrefslogtreecommitdiffstats
path: root/src/locate.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-29 09:39:12 +0200
committerMax Kellermann <max@duempel.org>2008-08-29 09:39:12 +0200
commit5bd5551630c55344a11f99565d3c53acb32c0e44 (patch)
tree8d6c23d6ffc4381b6738b64678c3abdf9fefe446 /src/locate.c
parent1aa3457346b6c88d4d43e6faf5cde2ae95f36275 (diff)
downloadmpd-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/locate.c')
0 files changed, 0 insertions, 0 deletions