diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:39:12 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-02 00:20:21 -0700 |
commit | 7f04d26b6fcfe8c7fcc23c5accddda02ea36c507 (patch) | |
tree | 26423bde6d7ece186bd3397f8cc55e9b7fab4a42 /src/state_file.c | |
parent | c82544458231694c197b0c967f6e2844e8612bc6 (diff) | |
download | mpd-7f04d26b6fcfe8c7fcc23c5accddda02ea36c507.tar.gz mpd-7f04d26b6fcfe8c7fcc23c5accddda02ea36c507.tar.xz mpd-7f04d26b6fcfe8c7fcc23c5accddda02ea36c507.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/state_file.c')
0 files changed, 0 insertions, 0 deletions