summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/stream_dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index c9af10d517..fa80e9b64b 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -790,7 +790,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
else if(dvd_device)
dvd_device_current = dvd_device;
else
- dvd_device_current = strdup(DEFAULT_DVD_DEVICE);
+ dvd_device_current = DEFAULT_DVD_DEVICE;
dvd_set_speed(dvd_device_current, dvd_speed);
#if defined(__APPLE__) || defined(__DARWIN__)
/* Dynamic DVD drive selection on Darwin */