summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-09-01 13:57:57 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-09-01 13:57:57 +0000
commit0f56077797d60a78b673acccf798a640034d1f45 (patch)
treeea1fef2842532bec0678bbc5da26305d8ec0fa56
parent839878c50d69c221e28458ac7011d3872d3bb17f (diff)
downloadgstreamer-plugins-base-0f56077797d60a78b673acccf798a640034d1f45.tar.gz
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
m---------common0
-rw-r--r--ext/cdparanoia/gstcdparanoia.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/common b/common
-Subproject f0da7b89bea3eb2ed1d149166f28afa5e670dec
+Subproject 355c616d5f6779ea194f8b61704229c6fb04ae7
diff --git a/ext/cdparanoia/gstcdparanoia.c b/ext/cdparanoia/gstcdparanoia.c
index d209f2d2c..b79cb6f29 100644
--- a/ext/cdparanoia/gstcdparanoia.c
+++ b/ext/cdparanoia/gstcdparanoia.c
@@ -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;