diff options
Diffstat (limited to 'src/mapper.h')
-rw-r--r-- | src/mapper.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mapper.h b/src/mapper.h index 2aecd9a52..2f4ab353d 100644 --- a/src/mapper.h +++ b/src/mapper.h @@ -93,9 +93,10 @@ map_spl_path(void); /** * Maps a playlist name (without the ".m3u" suffix) to a file system - * path. + * path. The return value is allocated on the heap and must be freed + * with g_free(). */ -const char * -map_spl_utf8_to_fs(const char *name, char *buffer); +char * +map_spl_utf8_to_fs(const char *name); #endif |