Commit 0f560777 authored by Wim Taymans's avatar Wim Taymans
Browse files

Make a copy of device string as we're going to free it

Original commit message from CVS:
Make a copy of device string as we're going to free it
parent 839878c5
common @ 355c616d
Subproject commit f0da7b89bea3eb2ed1d149166f28afa5e670dec2
Subproject commit 355c616d5f6779ea194f8b61704229c6fb04ae7b
......@@ -246,7 +246,7 @@ cdparanoia_init (CDParanoia *cdparanoia)
gst_pad_set_get_function (cdparanoia->srcpad, cdparanoia_get);
gst_element_add_pad (GST_ELEMENT (cdparanoia), cdparanoia->srcpad);
cdparanoia->device = "/dev/cdrom";
cdparanoia->device = g_strdup ("/dev/cdrom");
cdparanoia->generic_device = NULL;
cdparanoia->start_sector = -1;
cdparanoia->end_sector = -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment