This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/libbluray/disc/disc.c b/src/libbluray/disc/disc.c | |
index 6d555a1..dd8e5a5 100644 | |
--- a/src/libbluray/disc/disc.c | |
+++ b/src/libbluray/disc/disc.c | |
@@ -283,7 +283,7 @@ static BD_DISC *_disc_init() | |
static void _set_paths(BD_DISC *p, const char *device_path) | |
{ | |
if (device_path) { | |
- char *disc_root = mount_get_mountpoint(device_path); | |
+ char *disc_root = str_dup(device_path); |