diff options
author | Max Kellermann <max@duempel.org> | 2009-01-07 23:53:28 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-07 23:53:28 +0100 |
commit | 97ae4a499aedfec4f1cbce0f621e112f7e70925f (patch) | |
tree | 1a39f8e919306319e32b378031200f14b56d1776 /src/mapper.c | |
parent | 7f34e9410eeb638b44ba1c7f7711844bd410b3a7 (diff) | |
download | mpd-97ae4a499aedfec4f1cbce0f621e112f7e70925f.tar.gz mpd-97ae4a499aedfec4f1cbce0f621e112f7e70925f.tar.xz mpd-97ae4a499aedfec4f1cbce0f621e112f7e70925f.zip |
mapper: don't allocate music_dir twice
Diffstat (limited to 'src/mapper.c')
-rw-r--r-- | src/mapper.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mapper.c b/src/mapper.c index 06780588d..82551d2b2 100644 --- a/src/mapper.c +++ b/src/mapper.c @@ -58,7 +58,6 @@ void mapper_init(void) g_error("config parameter \"%s\" not found\n", CONF_MUSIC_DIR); } - music_dir = g_strdup(music_dir_param->value); music_dir_length = strlen(music_dir); ret = stat(music_dir, &st); |