Mapper: _get_music_directory_utf8() may return nullptr

If no music_directory is configured, return nullptr instead of an
empty string.  This fixes a crash when db_file is configured without
music_directory.
This commit is contained in:
Max Kellermann
2013-11-22 00:02:17 +01:00
parent 51ec499c89
commit 67b8124a1d
3 changed files with 7 additions and 2 deletions

2
NEWS
View File

@@ -1,4 +1,6 @@
ver 0.18.5 (20??/??/??)
* configuration
- fix crash when db_file is configured without music_directory
* decoder
- fluidsynth: auto-detect by default
* fix ia64, mipsel and other little-endian architectures