From 0f56077797d60a78b673acccf798a640034d1f45 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 1 Sep 2002 13:57:57 +0000 Subject: [PATCH] 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 --- common | 2 +- ext/cdparanoia/gstcdparanoia.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common b/common index f0da7b8..355c616 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit f0da7b89bea3eb2ed1d149166f28afa5e670dec2 +Subproject commit 355c616d5f6779ea194f8b61704229c6fb04ae7b diff --git a/ext/cdparanoia/gstcdparanoia.c b/ext/cdparanoia/gstcdparanoia.c index d209f2d..b79cb6f 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; -- 2.7.4